Slight re-ordering of the destruction of the children. First we kill the content viewer then release our children.

This commit is contained in:
tbogard%aol.net 2000-03-31 01:19:28 +00:00
parent 2c8f992926
commit 79db91104f

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;