Bug 396828. 'Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread' within ns4xPluginInstance::Stop. r=jst, sr=brendan, a=jst
git-svn-id: svn://10.0.0.236/trunk@236938 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -818,6 +818,8 @@ nsJSObjWrapper::NP_Enumerate(NPObject *npobj, NPIdentifier **identifier,
|
||||
|
||||
AutoCXPusher pusher(cx);
|
||||
|
||||
JSAutoRequest ar(cx);
|
||||
|
||||
JSIdArray *ida = ::JS_Enumerate(cx, npjsobj->mJSObj);
|
||||
if (!ida) {
|
||||
return PR_FALSE;
|
||||
@@ -1669,6 +1671,8 @@ nsJSNPRuntime::OnPluginDestroy(NPP npp)
|
||||
return;
|
||||
}
|
||||
|
||||
JSAutoRequest ar(cx);
|
||||
|
||||
if (sNPObjWrappers.ops) {
|
||||
NppAndCx nppcx = { npp, cx };
|
||||
PL_DHashTableEnumerate(&sNPObjWrappers,
|
||||
|
||||
Reference in New Issue
Block a user