mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
StreamLogger#Flush(): lock self
... just to be sure.
This commit is contained in:
parent
d5d89b7f39
commit
f21b60e390
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,8 @@ void StreamLogger::FlushLogTimerHandler()
|
|||
|
||||
void StreamLogger::Flush()
|
||||
{
|
||||
ObjectLock oLock (this);
|
||||
|
||||
if (m_Stream)
|
||||
m_Stream->flush();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue