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:
alecf%netscape.com 2000-06-06 08:08:41 +00:00
parent d3b8782109
commit 37819879b7

View File

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