Add missing lock in DeserializeObject().

Refs #5870
This commit is contained in:
Gunnar Beutner 2014-03-29 23:03:19 +01:00
parent eb30f69454
commit 9897358fc6
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ static Object::Ptr DeserializeObject(const Object::Ptr& object, const Dictionary
instance = type->Instantiate(); instance = type->Instantiate();
} }
ObjectLock olock(input);
BOOST_FOREACH(const Dictionary::Pair& kv, input) { BOOST_FOREACH(const Dictionary::Pair& kv, input) {
if (kv.first.IsEmpty()) if (kv.first.IsEmpty())
continue; continue;