Fixing bug 267249. Don't null out mPrefs in nsDocShell::Destroy() to prevent a crash when it is dereferenced later on as the dieing window is handling a link click that was scheduled before the window was closed. r=dbaron@mozilla.org, sr=brendan@mozilla.org, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_20040515_BRANCH@165051 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3172,7 +3172,6 @@ nsDocShell::Destroy()
|
||||
|
||||
mDocLoader = nsnull;
|
||||
mParentWidget = nsnull;
|
||||
mPrefs = nsnull;
|
||||
mCurrentURI = nsnull;
|
||||
|
||||
if (mScriptGlobal) {
|
||||
|
||||
Reference in New Issue
Block a user