зеркало из https://github.com/mozilla/gecko-dev.git
8091c86b7e
The lifetime of async IPDL returned promise may be longer than its actor. That is, the handler (receiver) may have not resolve/reject the promise when the actor is destroyed. In this case, we have to reject all the pending promises before ActorDestroy() is called on the "sender" side. Besides, the handler (receiver) can reject with reason "ActorDestroyed" to silently cancel the promise without trying to reply to the remote actor which may have died. The sender-side promise is responsible for rejecting the pending promises, which will be done in MessageChannel::RejectPendingPromisesForActor(). MozReview-Commit-ID: 4XjmquZzDBO --HG-- extra : rebase_source : 48539e35e4587e09be1d66497b1ea32d1a95ee9a |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
dbus | ||
glue | ||
ipdl | ||
mscom | ||
ril | ||
testshell | ||
moz.build | ||
pull-chromium.py |