mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add another shouldBeFreed debugging call to catch outer windows better for cycle collector debugging. b=385549 r+sr=jst
This commit is contained in:
parent
9b3e00551c
commit
6b6c3b1359
@ -1788,6 +1788,9 @@ nsGlobalWindow::SetDocShell(nsIDocShell* aDocShell)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
mContext = nsnull; // we nuked it above also
|
mContext = nsnull; // we nuked it above also
|
||||||
|
#ifdef DEBUG
|
||||||
|
nsCycleCollector_DEBUG_shouldBeFreed(NS_STATIC_CAST(nsIScriptGlobalObject*, this));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
mDocShell = aDocShell; // Weak Reference
|
mDocShell = aDocShell; // Weak Reference
|
||||||
|
Loading…
Reference in New Issue
Block a user