summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 24ed15987..fa8b860d5 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -768,6 +768,7 @@ Client::~Client()
gameClear();
else
testsClear();
+ CHECKLISTENERS
}
void Client::bindTextDomain(const char *const name, const char *const path)
@@ -810,6 +811,8 @@ void Client::gameClear()
logger->log1("Quitting1");
config.removeListeners(this);
+ eventsManager.shutdown();
+
delete setupWindow;
setupWindow = nullptr;
delete helpWindow;