forked from mirrors/gecko-dev
nsAsyncShutdownService is a common way to handle async shutdown in C++. The uniqueness constraint on the name of the blocker is however an ergonomy problem. Several classes will append a pointer, or even generate a random id, to satisfy the uniqueness constraint and allow registering multiple blockers of the same type. This patch removes the uniqueness constraint by using the xpcom blocker rather than its name as key. Differential Revision: https://phabricator.services.mozilla.com/D178034 |
||
|---|---|---|
| .. | ||
| head.js | ||
| test_AsyncShutdown.js | ||
| test_AsyncShutdown_blocker_error_annotations.js | ||
| test_AsyncShutdown_leave_uncaught.js | ||
| test_converters.js | ||
| xpcshell.ini | ||