mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +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()
|
void StreamLogger::Flush()
|
||||||
{
|
{
|
||||||
|
ObjectLock oLock (this);
|
||||||
|
|
||||||
if (m_Stream)
|
if (m_Stream)
|
||||||
m_Stream->flush();
|
m_Stream->flush();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user