mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1213606 - assert that we don't destroy a document's proxy until we destroy all of its children r=davidb
This commit is contained in:
parent
a9b18fae1a
commit
63a2b0bd12
@ -262,6 +262,7 @@ DocAccessibleParent::Destroy()
|
||||
mChildDocs[i]->Destroy();
|
||||
|
||||
for (auto iter = mAccessibles.Iter(); !iter.Done(); iter.Next()) {
|
||||
MOZ_ASSERT(iter.Get()->mProxy != this);
|
||||
ProxyDestroyed(iter.Get()->mProxy);
|
||||
iter.Remove();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user