mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 16:44:29 +02:00
Fixed deadlock.
This commit is contained in:
parent
cf4397873c
commit
f771ede8f1
@ -235,8 +235,6 @@ void CompatComponent::DumpDowntimes(ostream& fp, const Service::Ptr& owner, Comp
|
|||||||
if (Service::IsDowntimeExpired(downtime))
|
if (Service::IsDowntimeExpired(downtime))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
ObjectLock olock(downtime);
|
|
||||||
|
|
||||||
if (type == CompatTypeHost)
|
if (type == CompatTypeHost)
|
||||||
fp << "hostdowntime {" << "\n";
|
fp << "hostdowntime {" << "\n";
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user