From 8819b4c8432a06d5cf46fd9e30984316d7aabb08 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 24 Jan 2013 11:14:17 +0100 Subject: [PATCH] Bug fix: Remove pending services from the idle services set. --- components/checker/checkercomponent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/checker/checkercomponent.cpp b/components/checker/checkercomponent.cpp index cf0b2ae87..99c6ff439 100644 --- a/components/checker/checkercomponent.cpp +++ b/components/checker/checkercomponent.cpp @@ -102,6 +102,7 @@ void CheckerComponent::CheckTimerHandler(void) Logger::Write(LogDebug, "checker", "Executing service check for '" + service->GetName() + "'"); + m_IdleServices.erase(service); m_PendingServices.insert(service); service->BeginExecuteCheck(boost::bind(&CheckerComponent::CheckCompletedHandler, this, service));