mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue