Add missing lock

refs #12450
This commit is contained in:
Gunnar Beutner 2016-08-17 09:16:27 +02:00
parent 7fcf8ece72
commit b26b3a4f65
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ void Zone::OnAllConfigLoaded(void)
Array::Ptr endpoints = GetEndpointsRaw();
if (endpoints) {
ObjectLock olock(endpoints);
BOOST_FOREACH(const String& endpoint, endpoints) {
Endpoint::GetByName(endpoint)->SetCachedZone(this);
}