summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index a4cc5096b..c430aefec 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -223,6 +223,7 @@ void Logger::flush()
SDL_mutexP(mMutex);
FOR_EACH (std::vector<std::string>::const_iterator, it, mDelayedLog)
mLogFile << *it;
+ mDelayedLog.clear();
SDL_mutexV(mMutex);
}
}