mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
5d1e549063
commit
985c6bc7d9
@ -220,6 +220,10 @@ void WorkQueue::WorkerThreadProc(void)
|
|||||||
m_ExceptionCallback(boost::current_exception());
|
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();
|
lock.lock();
|
||||||
|
|
||||||
m_Processing--;
|
m_Processing--;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user