[icinga-checkins] icinga.org: icinga2/master: Fixed deadlock.

git at icinga.org git at icinga.org
Sat Mar 9 00:01:13 CET 2013


Module: icinga2
Branch: master
Commit: f771ede8f1ca46c18d7dff1b5ebc2682462f4195
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=f771ede8f1ca46c18d7dff1b5ebc2682462f4195

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Sat Mar  9 00:00:10 2013 +0100

Fixed deadlock.

---

 components/compat/compatcomponent.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp
index af6e6f0..4279465 100644
--- a/components/compat/compatcomponent.cpp
+++ b/components/compat/compatcomponent.cpp
@@ -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





More information about the icinga-checkins mailing list