mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
7d9769c5e3
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 |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
glue | ||
ipdl | ||
mscom | ||
testshell | ||
moz.build | ||
pull-chromium.py |