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:
tbogard%aol.net
2000-03-31 01:19:28 +00:00
parent bc428500e6
commit 2a1fee6505

View File

@@ -1247,9 +1247,10 @@ NS_IMETHODIMP nsDocShell::Destroy()
if(docShellParentAsNode)
docShellParentAsNode->RemoveChild(this);
mContentViewer = nsnull;
DestroyChildren();
mContentViewer = nsnull;
mDocLoader = nsnull;
mDocLoaderObserver = nsnull;
mParentWidget = nsnull;