Fixed scheduling bug.

This commit is contained in:
Gunnar Beutner 2012-08-04 10:45:21 +02:00
parent b9ee3b26eb
commit 85d912feb5
1 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,8 @@ void CheckerComponent::CheckerChangedHandler(const Service::Ptr& service)
if (m_PendingServices.find(service) != m_PendingServices.end())
return;
service->UpdateNextCheck();
m_Services.insert(service);
} else {
m_Services.erase(service);