Add code to nullify pointers and do extra checks to catch docshell crashes most likely caused by bad weak references. b=67721 r=rpotts@netscape.com sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109526 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2506,6 +2506,7 @@ nsDocShell::Destroy()
|
||||
|
||||
if (mContentListener) {
|
||||
mContentListener->DocShell(nsnull);
|
||||
mContentListener->SetParentContentListener(nsnull);
|
||||
NS_RELEASE(mContentListener);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user