diff options
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 03960f4a1..564f0fdac 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -55,12 +55,13 @@ const char LogStream::LogHeader[] = " - compiled on " SYSTEM; LogManager::LogManager() + : Logging(false) { - Logging = false; } LogManager::~LogManager() { + CloseLogs(); } void LogManager::OpenFileLogs() |