зеркало из https://github.com/mozilla/gecko-dev.git
back out 349069 to see if it caused xserve02 orange
This commit is contained in:
Родитель
c5b04de8c7
Коммит
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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче