mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 14:14:45 +02:00
parent
5d1e549063
commit
985c6bc7d9
@ -220,6 +220,10 @@ void WorkQueue::WorkerThreadProc(void)
|
||||
m_ExceptionCallback(boost::current_exception());
|
||||
}
|
||||
|
||||
/* clear the task so whatever other resources it holds are released
|
||||
_before_ we re-acquire the mutex */
|
||||
task = Task();
|
||||
|
||||
lock.lock();
|
||||
|
||||
m_Processing--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user