mirror of https://github.com/Icinga/icinga2.git
Fix another deadlock.
This commit is contained in:
parent
4371649064
commit
cf4397873c
|
@ -311,11 +311,13 @@ void Service::SetAcknowledgementExpiry(double timestamp)
|
|||
* @threadsafety Always.
|
||||
*/
|
||||
void Service::AcknowledgeProblem(AcknowledgementType type, double expiry)
|
||||
{
|
||||
{
|
||||
ObjectLock olock(this);
|
||||
|
||||
SetAcknowledgement(type);
|
||||
SetAcknowledgementExpiry(expiry);
|
||||
}
|
||||
|
||||
RequestNotifications(NotificationAcknowledgement, GetLastCheckResult());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue