summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-13 23:16:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-13 23:16:26 +0300
commit0957953b15a30f34491e2daf2834009331ebeb69 (patch)
tree78f0055c232f047c61d9752e2c8e0727c355ead9 /src/client.cpp
parentbf1a006a34ba30143c00be899332acedef29575b (diff)
downloadmanaverse-0957953b15a30f34491e2daf2834009331ebeb69.tar.gz
manaverse-0957953b15a30f34491e2daf2834009331ebeb69.tar.bz2
manaverse-0957953b15a30f34491e2daf2834009331ebeb69.tar.xz
manaverse-0957953b15a30f34491e2daf2834009331ebeb69.zip
Dont delete logger on exit, because network or other threads can still work with it.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 0f82a4514..cb4dbdb80 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -681,8 +681,8 @@ void Client::testsClear()
{
BeingInfo::clear();
- delete logger;
- logger = nullptr;
+ //delete logger;
+ //logger = nullptr;
}
}
@@ -787,8 +787,8 @@ void Client::gameClear()
delete chatLogger;
chatLogger = nullptr;
- delete logger;
- logger = nullptr;
+ //delete logger;
+ //logger = nullptr;
mInstance = nullptr;
}