mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
Merge pull request #8015 from Icinga/bugfix/streamlogger-flush-lock
StreamLogger#Flush(): lock self
This commit is contained in:
commit
f2765d54ce
@ -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