Checkable#ProcessCheckResult(): unlock *this while Service::OnHostProblemChanged()

refs #8160
This commit is contained in:
Alexander A. Klimov 2020-08-11 15:21:16 +02:00
parent 338d0aaa8c
commit 7c0687670e

View File

@ -359,7 +359,9 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig
if (GetProblem() != wasProblem) {
for (auto& service : host->GetServices()) {
olock.Unlock();
Service::OnHostProblemChanged(service, cr, origin);
olock.Lock();
}
}
}