Add missing lock in ScriptUtils::Union

fixes #9622
This commit is contained in:
Gunnar Beutner 2015-07-15 08:26:58 +02:00
parent 1638c44bc9
commit 46a9b30260
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ Array::Ptr ScriptUtils::Union(const std::vector<Value>& arguments)
Array::Ptr arr = varr;
if (arr) {
ObjectLock olock(arr);
BOOST_FOREACH(const Value& value, arr) {
values.insert(value);
}