зеркало из https://github.com/mozilla/gecko-dev.git
269cf7fcc0
When the pc.close() calls in PeerConnection.jsm were removed, tests that did not explicitly call pc.close() would result in situations where DataChannel shutdown ran first, which resulted in DataChannels hanging around after DataChannel ran its global shutdown code. So, we stop using xpcom-shutdown to prompt DataChannel to shut down, and instead use ShutdownBlockingTicket to ensure that shutdown does not proceed until DataChannel is cleaned up, which naturally results from the PeerConnectionCtx shutdown code. However, ShutdownBlockingTicket blocks xpcom-will-shutdown, not xpcom-shutdown, which resulted in PeerConnectionCtx not getting an opportunity to run its shutdown code, which then led to shutdown hangs. So, PeerConnectionCtx runs its shutdown code at xpcom-will-shutdown. Differential Revision: https://phabricator.services.mozilla.com/D139210 |
||
---|---|---|
.. | ||
datachannel | ||
src | ||
sctp_update.log | ||
update_sctp.sh |