fix potential FC
This commit is contained in:
parent
e013eee8e8
commit
b2ef0c6f32
1 changed files with 6 additions and 0 deletions
|
@ -45,6 +45,12 @@ public class PassImportActivity extends ActionBarActivity {
|
|||
super.onPostExecute(result);
|
||||
|
||||
if (result == null) {
|
||||
|
||||
if (!passImportActivity.isFinishing()) {
|
||||
progressDialog.dismiss();
|
||||
}
|
||||
finish();
|
||||
//TODO show some error here?!
|
||||
return; // no result -> no work here
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue