summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/plugingui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc
index 7dd2ba6..2dd93f9 100644
--- a/plugingui/plugingui.cc
+++ b/plugingui/plugingui.cc
@@ -281,11 +281,11 @@ void PluginGUI::thread_main()
void PluginGUI::deinit()
{
- if(window) delete window;
if(config) {
config->save();
delete config;
}
+ if(window) delete window;
}
void closeEventHandler(void *ptr)