Bug fix: Remove pending services from the idle services set.

This commit is contained in:
Gunnar Beutner 2013-01-24 11:14:17 +01:00
parent 7447d340cc
commit 8819b4c843
1 changed files with 1 additions and 0 deletions

View File

@ -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));