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:
alecf%netscape.com
2000-06-06 08:08:41 +00:00
parent ee43714968
commit 85b11d0f15

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