Should fix stackoverflow

This commit is contained in:
triplem 2018-08-05 22:11:30 +02:00
parent ff30d9af80
commit b7ffb2c847

View file

@ -143,7 +143,9 @@ public class ImportExportPrefs {
MainApp.instance().stopKeepAliveService(); MainApp.instance().stopKeepAliveService();
MainApp.bus().post(new EventAppExit()); MainApp.bus().post(new EventAppExit());
MainApp.closeDbHelper(); MainApp.closeDbHelper();
// context.finish(); if (context instanceof Activity) {
((Activity)context).finish();
}
System.runFinalization(); System.runFinalization();
System.exit(0); System.exit(0);
} }