Fix for bug 391209 (cycle collector crash with python objects). r/sr=jst, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@246721 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -105,7 +105,7 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsJSEventListener)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mTarget)
|
||||
if (tmp->mContext) {
|
||||
if (tmp->mScopeObject) {
|
||||
nsContentUtils::DropScriptObjects(tmp->mContext->GetScriptTypeID(), this,
|
||||
nsContentUtils::DropScriptObjects(tmp->mContext->GetScriptTypeID(), tmp,
|
||||
&NS_CYCLE_COLLECTION_NAME(nsJSEventListener));
|
||||
tmp->mScopeObject = nsnull;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user