diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-13 23:16:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-13 23:16:26 +0300 |
commit | 0957953b15a30f34491e2daf2834009331ebeb69 (patch) | |
tree | 78f0055c232f047c61d9752e2c8e0727c355ead9 /src/client.cpp | |
parent | bf1a006a34ba30143c00be899332acedef29575b (diff) | |
download | manaplus-0957953b15a30f34491e2daf2834009331ebeb69.tar.gz manaplus-0957953b15a30f34491e2daf2834009331ebeb69.tar.bz2 manaplus-0957953b15a30f34491e2daf2834009331ebeb69.tar.xz manaplus-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.cpp | 8 |
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; } |