gecko-dev/ipc
Nika Layzell 7d9769c5e3 Bug 1565405 - Fail async ctor call if !Manager()->CanSend(), r=froydnj
The previous behaviour of failing unconditionally was performed as, during
shutdown, the channel could become unable to send without worker threads having
a chance to react. This change keeps that behaviour, isolating async message
senders from impending IPC shutdown, while performing expected actor teardown if
the manager actor has already been destroyed, and should no longer send messages.

An alternate behaviour here could be to crash if !Manager()->CanSend(). That
behaviour may be preferable if a sufficient number of callsites don't check the
return value of the `SendPFooConstructor()` method.

Differential Revision: https://phabricator.services.mozilla.com/D39534

--HG--
extra : moz-landing-system : lando
2019-07-29 16:37:40 +00:00
..
app Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
chromium Bug 1566808 - Add STARTF_FORCEOFFFEEDBACK when launching process on windows r=bobowen 2019-07-29 14:59:27 +00:00
contentproc Bug 1530245 - Launch sandbox from new remote sandbox broker process. r=jld,bobowen 2019-03-13 09:24:52 +00:00
glue Bug 1565405 - Fail async ctor call if !Manager()->CanSend(), r=froydnj 2019-07-29 16:37:40 +00:00
ipdl Bug 1565405 - Fail async ctor call if !Manager()->CanSend(), r=froydnj 2019-07-29 16:37:40 +00:00
mscom Bug 1566955: Make EnsureMTA fully thread-safe; r=Jamie 2019-07-18 00:48:41 +00:00
testshell Bug 1561435 - Format ipc/, a=automatic-formatting 2019-07-05 10:48:16 +02:00
moz.build Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697) for toolchain bustages on UniquePtrExtensions.h . CLOSED TREE 2019-06-28 22:42:00 +03:00
pull-chromium.py