Merge pull request #1305 from triplem/fix_stackoverflow
Fix stackoverflow
This commit is contained in:
commit
409acd0721
|
@ -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