mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00

We already have a mechanism for ending threads accepting new messages when they are shut down, so this only allows tasks started from thread shutdown tasks during xpcom shutdown to behave consistently. We already didn't prevent dispatching to the background thread pool at this time, so it should make little difference there as well, and may just instead save us from deadlocks where code expects a dispatch to succeed and it does not during actor shutdown. This patch both relaxes the check to only be a NS_ASSERTION, and relaxes it to allow dispatching to the current thread even after xpcom-shutdown-threads as that thread is definitely still alive. Differential Revision: https://phabricator.services.mozilla.com/D144592
…
…
…
…
…
…
…
An explanation of the Firefox Source Code Directory Structure and links to project pages with documentation can be found at: https://firefox-source-docs.mozilla.org/contributing/directory_structure.html For information on how to build Firefox from the source code and create the patch see: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html If you have a question about developing Firefox, and can't find the solution on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel. Nightly development builds can be downloaded from: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/ - or - https://www.mozilla.org/firefox/channel/desktop/#nightly Keep in mind that nightly builds, which are used by Firefox developers for testing, may be buggy.
Description
Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Languages
JavaScript
32.3%
C++
25.4%
HTML
21%
C
10.8%
Python
2.8%
Other
7.2%