mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
last checkin was:
fix for #41608 - be sure to remove the script context from the GC root! r=shaver, jst a=putterman
This commit is contained in:
parent
d3b8782109
commit
37819879b7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user