Merge pull request #1305 from triplem/fix_stackoverflow
Fix stackoverflow
This commit is contained in:
commit
409acd0721
1 changed files with 3 additions and 1 deletions
|
@ -143,7 +143,9 @@ public class ImportExportPrefs {
|
|||
MainApp.instance().stopKeepAliveService();
|
||||
MainApp.bus().post(new EventAppExit());
|
||||
MainApp.closeDbHelper();
|
||||
// context.finish();
|
||||
if (context instanceof Activity) {
|
||||
((Activity)context).finish();
|
||||
}
|
||||
System.runFinalization();
|
||||
System.exit(0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue