mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00

The "magic static" objects created in `nsThread::ThreadList` and `nsThread::ThreadListMutex` have non-trivial destructors, so they end up setting `atexit` hooks. I'd like to switch these over to be `StaticLocalAutoPtr`s which were added specifically for the purpose of holding magic statics, and have trivial destructors. Differential Revision: https://phabricator.services.mozilla.com/D117549