summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index cd40615b..b95076ff 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -400,8 +400,6 @@ Client::~Client()
delete itemShortcut;
delete emoteShortcut;
- config.write();
-
delete gui;
delete graphics;
@@ -425,6 +423,9 @@ Client::~Client()
logger->log("Quitting");
delete guiPalette;
+
+ config.write();
+
delete logger;
mInstance = 0;