From 7c0687670e9e55334d897c8b88d1bda8bf810937 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 11 Aug 2020 15:21:16 +0200 Subject: [PATCH] Checkable#ProcessCheckResult(): unlock *this while Service::OnHostProblemChanged() refs #8160 --- lib/icinga/checkable-check.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/icinga/checkable-check.cpp b/lib/icinga/checkable-check.cpp index ca5b7ba71..379fbf98c 100644 --- a/lib/icinga/checkable-check.cpp +++ b/lib/icinga/checkable-check.cpp @@ -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(); } } }