]> granicus.if.org Git - icinga2/commitdiff
Fixed deadlock.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 8 Mar 2013 23:00:10 +0000 (00:00 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 8 Mar 2013 23:00:10 +0000 (00:00 +0100)
components/compat/compatcomponent.cpp

index af6e6f05f66dd978ad45e47eb5777e6f29693abd..4279465d6b0483de83fdd62944848cf2b3fb1097 100644 (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