last checkin was:
fix for #41608 - be sure to remove the script context from the GC root! r=shaver, jst a=putterman git-svn-id: svn://10.0.0.236/trunk@71600 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -216,6 +216,7 @@ NS_IMETHODIMP GlobalWindowImpl::SetContext(nsIScriptContext *aContext)
|
||||
NS_WARNING("Possibly early removal of script object, see bug #41608");
|
||||
mContext->RemoveReference(&mScriptObject, mScriptObject);
|
||||
}
|
||||
|
||||
mContext = aContext;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user