mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 14:14:45 +02:00
StreamLogger#Flush(): lock self
... just to be sure.
This commit is contained in:
parent
d5d89b7f39
commit
f21b60e390
@ -41,6 +41,8 @@ void StreamLogger::FlushLogTimerHandler()
|
||||
|
||||
void StreamLogger::Flush()
|
||||
{
|
||||
ObjectLock oLock (this);
|
||||
|
||||
if (m_Stream)
|
||||
m_Stream->flush();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user