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:
jst%mozilla.jstenback.com
2004-11-06 01:58:49 +00:00
parent 9d624ad37d
commit 703d6f3b42

View File

@@ -3172,7 +3172,6 @@ nsDocShell::Destroy()
mDocLoader = nsnull;
mParentWidget = nsnull;
mPrefs = nsnull;
mCurrentURI = nsnull;
if (mScriptGlobal) {