Bug 329749 Did JS_SealObject mean to call JS_UNLOCK_OBJ instead of JS_UNLOCK_SCOPE ?

r=brendan
This commit is contained in:
timeless%mozdev.org 2006-03-12 09:35:52 +00:00
Родитель 4aca244416
Коммит 376cbca96e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;