deferred config saving

first save config and then close window
issue #1723
This commit is contained in:
tildearrow 2024-03-14 14:32:06 -05:00
parent 8b0f5bedc4
commit 3c5a123283

View file

@ -759,13 +759,13 @@ int main(int argc, char** argv) {
g.loop();
logI("closing GUI.");
g.finish();
g.finish(true);
#else
logE("GUI requested but GUI not compiled!");
#endif
logI("stopping engine.");
e.quit();
e.quit(false);
finishLogFile();