mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
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;
|
bool configChange = false;
|
||||||
|
|
||||||
|
ObjectLock olock(update);
|
||||||
BOOST_FOREACH(const Dictionary::Pair& kv, update) {
|
BOOST_FOREACH(const Dictionary::Pair& kv, update) {
|
||||||
Zone::Ptr zone = Zone::GetByName(kv.first);
|
Zone::Ptr zone = Zone::GetByName(kv.first);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user