mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-04 06:15:07 -04:00
Merge pull request #8015 from Icinga/bugfix/streamlogger-flush-lock
StreamLogger#Flush(): lock self
This commit is contained in:
commit
f2765d54ce
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