mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1172538 - make sure a document has an IPC actor before shutting it down r=davidb, lsocks
If a document is shutdown before ever being bound to a parent document it doesn't have an associated IPC actor, so we shouldn't try and shut one down.
This commit is contained in:
parent
2f9806beef
commit
1d487a4fcd
@ -455,7 +455,8 @@ DocAccessible::Shutdown()
|
||||
mChildDocuments.Clear();
|
||||
|
||||
// XXX thinking about ordering?
|
||||
if (IPCAccessibilityActive()) {
|
||||
if (mIPCDoc) {
|
||||
MOZ_ASSERT(IPCAccessibilityActive());
|
||||
mIPCDoc->Shutdown();
|
||||
MOZ_ASSERT(!mIPCDoc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user