mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
270a894712
If we don't do this explicitly, the channel is automatically disconnected when it's GCed. However, if we start shutdown while a stream is being processed, the stream may not be GCed before we shut down the parent process's message loop. In that case, we get a shutdown crash because the StreamFilterParent's data channel is still open when we shut down its message loop. Explicitly disconnecting the StreamFilter when the context is closed prevents this, since app shutdown is automatically blocked on extension shutdown, and extension shutdown explicitly closes all extant contexts. MozReview-Commit-ID: 5JPrSUooq1j --HG-- extra : rebase_source : d9af8c6b1c2107a726fead2aa0bbf9cc6f7b72e2 |
||
---|---|---|
.. | ||
components | ||
content | ||
crashreporter | ||
forgetaboutsite | ||
library | ||
locales | ||
modules | ||
mozapps | ||
pluginproblem | ||
profile | ||
system | ||
themes | ||
xre | ||
.eslintrc.js | ||
moz.build | ||
moz.configure | ||
nss.configure | ||
toolkit.mozbuild |