mirror of https://github.com/Icinga/icinga2.git
Fix missing lock in ConfigUpdateHandler()
This commit is contained in:
parent
1c07f5111a
commit
a07600a469
|
@ -213,6 +213,7 @@ Value ApiListener::ConfigUpdateHandler(const MessageOrigin& origin, const Dictio
|
|||
|
||||
bool configChange = false;
|
||||
|
||||
ObjectLock olock(update);
|
||||
BOOST_FOREACH(const Dictionary::Pair& kv, update) {
|
||||
Zone::Ptr zone = Zone::GetByName(kv.first);
|
||||
|
||||
|
|
Loading…
Reference in New Issue