mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
Fix deadlock in Service::BeginExecuteCheck().
This commit is contained in:
parent
45f8bfb730
commit
2189c1639c
@ -418,9 +418,10 @@ void Service::BeginExecuteCheck(const Service::Ptr& self, const function<void (v
|
|||||||
{
|
{
|
||||||
ObjectLock olock(host);
|
ObjectLock olock(host);
|
||||||
macroDicts.push_back(host->GetMacros());
|
macroDicts.push_back(host->GetMacros());
|
||||||
macroDicts.push_back(Host::CalculateDynamicMacros(host));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
macroDicts.push_back(Host::CalculateDynamicMacros(host));
|
||||||
|
|
||||||
IcingaApplication::Ptr app = IcingaApplication::GetInstance();
|
IcingaApplication::Ptr app = IcingaApplication::GetInstance();
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user