зеркало из https://github.com/mozilla/gecko-dev.git
a5eb156496
There can be LocalAccessibles which don't die until the final cycle collection during XPCOM shutdown. MsaaIdGenerator::ReleaseID (called during deletion of a LocalAccessible) uses a timer when the cache is enabled, but timers can't be used after XPCOM shutdown. This was causing an assertion. In addition, because MsaaIdGenerator is a static instance, the timer could be deleted after XPCOM shutdown, causing a warning. To fix this: 1. If accessibility is shut down, just release ids immediately. 2. Clean up any remaining ids and the timer on XPCOM shutdown. A better solution would be to create and terminate MsaaIdGenerator during a11y startup and shutdown, but this is a bit tricky while we still have the non-cache code paths. Once we don't need the non-cache code, MsaaIdGenerator will become a lot simpler, so this refactor will be easier then. Differential Revision: https://phabricator.services.mozilla.com/D146866 |
||
---|---|---|
.. | ||
android | ||
aom | ||
atk | ||
base | ||
basetypes | ||
docs | ||
generic | ||
html | ||
interfaces | ||
ipc | ||
mac | ||
other | ||
tests | ||
windows | ||
xpcom | ||
xul | ||
moz.build |