deferred config saving
first save config and then close window issue #1723
This commit is contained in:
parent
8b0f5bedc4
commit
3c5a123283
|
|
@ -759,13 +759,13 @@ int main(int argc, char** argv) {
|
||||||
|
|
||||||
g.loop();
|
g.loop();
|
||||||
logI("closing GUI.");
|
logI("closing GUI.");
|
||||||
g.finish();
|
g.finish(true);
|
||||||
#else
|
#else
|
||||||
logE("GUI requested but GUI not compiled!");
|
logE("GUI requested but GUI not compiled!");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
logI("stopping engine.");
|
logI("stopping engine.");
|
||||||
e.quit();
|
e.quit(false);
|
||||||
|
|
||||||
finishLogFile();
|
finishLogFile();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue