add: remember window size

This commit is contained in:
huanghongxun
2020-04-24 23:12:58 +08:00
parent b933938f1b
commit 810ea9ace9
3 changed files with 49 additions and 0 deletions

View File

@@ -74,6 +74,12 @@ public final class Launcher extends Application {
}
}
@Override
public void stop() throws Exception {
super.stop();
Controllers.onApplicationStop();
}
public static void main(String[] args) {
Thread.setDefaultUncaughtExceptionHandler(CRASH_REPORTER);
AsyncTaskExecutor.setUncaughtExceptionHandler(new CrashReporter(false));