mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 21:17:52 +00:00
Bug 396828. 'Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread' within ns4xPluginInstance::Stop. r=jst, sr=brendan, a=jst
This commit is contained in:
parent
98460592b4
commit
ff9980a04c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user