From 0957953b15a30f34491e2daf2834009331ebeb69 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Jan 2012 23:16:26 +0300 Subject: Dont delete logger on exit, because network or other threads can still work with it. --- src/client.cpp | 8 ++++---- 1 file 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; } -- cgit v1.2.3-70-g09d2