Slight re-ordering of the destruction of the children. First we kill the content viewer then release our children.
git-svn-id: svn://10.0.0.236/trunk@64658 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1247,9 +1247,10 @@ NS_IMETHODIMP nsDocShell::Destroy()
|
||||
if(docShellParentAsNode)
|
||||
docShellParentAsNode->RemoveChild(this);
|
||||
|
||||
mContentViewer = nsnull;
|
||||
|
||||
DestroyChildren();
|
||||
|
||||
mContentViewer = nsnull;
|
||||
mDocLoader = nsnull;
|
||||
mDocLoaderObserver = nsnull;
|
||||
mParentWidget = nsnull;
|
||||
|
||||
Reference in New Issue
Block a user