mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Slight re-ordering of the destruction of the children. First we kill the content viewer then release our children.
This commit is contained in:
parent
2c8f992926
commit
79db91104f
@ -1247,9 +1247,10 @@ NS_IMETHODIMP nsDocShell::Destroy()
|
||||
if(docShellParentAsNode)
|
||||
docShellParentAsNode->RemoveChild(this);
|
||||
|
||||
mContentViewer = nsnull;
|
||||
|
||||
DestroyChildren();
|
||||
|
||||
mContentViewer = nsnull;
|
||||
mDocLoader = nsnull;
|
||||
mDocLoaderObserver = nsnull;
|
||||
mParentWidget = nsnull;
|
||||
|
Loading…
Reference in New Issue
Block a user