Avoid unnecessary async callback.

Refs #5748
This commit is contained in:
Gunnar Beutner 2014-03-17 09:09:55 +01:00
parent 4d6088bee1
commit 5a7d56f4a3
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ void Service::ExecuteCheck(void)
result->SetScheduleStart(scheduled_start); result->SetScheduleStart(scheduled_start);
result->SetExecutionStart(before_check); result->SetExecutionStart(before_check);
Utility::QueueAsyncCallback(boost::bind(&CheckCommand::Execute, GetCheckCommand(), GetSelf(), result)); GetCheckCommand()->Execute(GetSelf(), result);
} }
void Service::UpdateStatistics(const CheckResult::Ptr& cr) void Service::UpdateStatistics(const CheckResult::Ptr& cr)