From 3c5a1232831a5c90d22621f02d76757d148a1947 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 14 Mar 2024 14:32:06 -0500 Subject: [PATCH] deferred config saving first save config and then close window issue #1723 --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 8601b48c4..9c86b16c5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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();