summaryrefslogtreecommitdiffstats
path: root/source/MCLogger.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-12 08:42:18 +0200
committermadmaxoft <github@xoft.cz>2013-08-12 08:42:18 +0200
commit90ef9cfe97d64825f8e6b7b4e82556ef020a44b5 (patch)
tree70aee7a5a8a768f8f9bddc1c66568eda6969fdc9 /source/MCLogger.cpp
parentMakefile: Added FreeBSD support. (diff)
downloadcuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.gz
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.bz2
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.lz
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.xz
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.tar.zst
cuberite-90ef9cfe97d64825f8e6b7b4e82556ef020a44b5.zip
Diffstat (limited to '')
-rw-r--r--source/MCLogger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/MCLogger.cpp b/source/MCLogger.cpp
index de0fcae2e..2870d8ba1 100644
--- a/source/MCLogger.cpp
+++ b/source/MCLogger.cpp
@@ -75,7 +75,9 @@ cMCLogger::~cMCLogger()
m_Log->Log("--- Stopped Log ---\n");
delete m_Log;
if (this == s_MCLogger)
+ {
s_MCLogger = NULL;
+ }
}