mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1142229, part 2 - Shut down the Nuwa process when its PContentParent::Close() is called. r=tlee
This commit is contained in:
parent
e2cc96eccf
commit
54c3d90c25
@ -1855,6 +1855,14 @@ ContentChild::ActorDestroy(ActorDestroyReason why)
|
||||
}
|
||||
mIsAlive = false;
|
||||
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
if (IsNuwaProcess()) {
|
||||
// The Nuwa cannot go through the full XPCOM shutdown path or deadlock
|
||||
// will result.
|
||||
QuickExit();
|
||||
}
|
||||
#endif
|
||||
|
||||
XRE_ShutdownChildProcess();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user