Fixed deadlock.

This commit is contained in:
Gunnar Beutner 2013-03-09 00:00:10 +01:00
parent cf4397873c
commit f771ede8f1

View File

@ -235,8 +235,6 @@ void CompatComponent::DumpDowntimes(ostream& fp, const Service::Ptr& owner, Comp
if (Service::IsDowntimeExpired(downtime))
continue;
ObjectLock olock(downtime);
if (type == CompatTypeHost)
fp << "hostdowntime {" << "\n";
else