зеркало из https://github.com/mozilla/gecko-dev.git
Bug 329749 Did JS_SealObject mean to call JS_UNLOCK_OBJ instead of JS_UNLOCK_SCOPE ?
r=brendan
This commit is contained in:
Родитель
4aca244416
Коммит
376cbca96e
|
@ -2307,7 +2307,7 @@ JS_SealObject(JSContext *cx, JSObject *obj, JSBool deep)
|
|||
scope = js_GetMutableScope(cx, obj);
|
||||
if (scope)
|
||||
SCOPE_SET_SEALED(scope);
|
||||
JS_UNLOCK_SCOPE(cx, scope);
|
||||
JS_UNLOCK_OBJ(cx, obj);
|
||||
if (!scope)
|
||||
return JS_FALSE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче