Fix bug 400556 by tearing down editor a little earlier. r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@240267 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1004,6 +1004,12 @@ nsDocShell::FirePageHideNotification(PRBool aIsUnload)
|
||||
}
|
||||
}
|
||||
|
||||
// Now make sure our editor, if any, is torn down before we go
|
||||
// any farther.
|
||||
if (mEditorData) {
|
||||
mEditorData->TearDownEditor();
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user