mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
back out 349069 to see if it caused xserve02 orange
This commit is contained in:
parent
c5b04de8c7
commit
7472412a7c
@ -215,6 +215,13 @@ nsXULDocument::~nsXULDocument()
|
||||
NS_ASSERTION(mNextSrcLoadWaiter == nsnull,
|
||||
"unreferenced document still waiting for script source to load?");
|
||||
|
||||
// Notify our observers here, we can't let the nsINode
|
||||
// destructor do that for us since some of the observers are
|
||||
// deleted by the time we get there.
|
||||
nsNodeUtils::NodeWillBeDestroyed(this);
|
||||
// Clear mObservers to keep it in sync with the mutationobserver list
|
||||
mObservers.Clear();
|
||||
|
||||
// In case we failed somewhere early on and the forward observer
|
||||
// decls never got resolved.
|
||||
DestroyForwardReferences();
|
||||
|
Loading…
Reference in New Issue
Block a user