Make sure the config is saved on exit.

May help #7724.
This commit is contained in:
Unknown W. Brackets committed 2015-12-25 19:39:52 -08:00
1 parent 6e48f907dd
commit 82e41a1392
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -1090,6 +1090,8 @@ UI::EventReturn MainScreen::OnExit(UI::EventParams &e) {
#ifdef ANDROID_NDK_PROFILER
moncleanup();
#endif
// However, let's make sure the config was saved, since it may not have been.
g_Config.Save();
exit(0);
#endif