StreamLogger#Flush(): lock self

... just to be sure.
This commit is contained in:
Alexander A. Klimov 2020-05-15 15:33:37 +02:00
parent d5d89b7f39
commit f21b60e390
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ void StreamLogger::FlushLogTimerHandler()
void StreamLogger::Flush()
{
ObjectLock oLock (this);
if (m_Stream)
m_Stream->flush();
}