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