mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-24 02:07:53 +02:00
Checkable#ProcessCheckResult(): unlock *this while Service::OnHostProblemChanged()
refs #8160
This commit is contained in:
parent
338d0aaa8c
commit
7c0687670e
@ -359,7 +359,9 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig
|
|||||||
|
|
||||||
if (GetProblem() != wasProblem) {
|
if (GetProblem() != wasProblem) {
|
||||||
for (auto& service : host->GetServices()) {
|
for (auto& service : host->GetServices()) {
|
||||||
|
olock.Unlock();
|
||||||
Service::OnHostProblemChanged(service, cr, origin);
|
Service::OnHostProblemChanged(service, cr, origin);
|
||||||
|
olock.Lock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user