Add missing lock in ScriptUtils::Union

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

View File

@ -109,6 +109,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);
}