summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 307418964..21ea23ce1 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -208,6 +208,7 @@ time_t start_time;
unsigned int mLastHost = 0;
unsigned long mSearchHash = 0;
int textures_count = 0;
+volatile bool isTerminate = false;
namespace
{
@@ -619,6 +620,7 @@ void Client::gameClear()
{
if (logger)
logger->log1("Quitting1");
+ isTerminate = true;
config.removeListeners(this);
delete2(assertListener);