Fix bug 305662: fix leakage of nsWebShell and entrained data by breaking a ref cycle between the docShell and nsISecureBrowserUI in a place that works for both embedders and the suite. r=bryner, sr=bz

git-svn-id: svn://10.0.0.236/trunk@178751 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
smfr%smfr.org
2005-08-23 23:48:47 +00:00
parent d7497a616e
commit 981725806b
4 changed files with 8 additions and 3 deletions

View File

@@ -3442,6 +3442,9 @@ nsDocShell::Destroy()
mContentListener->SetParentContentListener(nsnull);
}
// required to break ref cycle
mSecurityUI = nsnull;
return NS_OK;
}