зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1492629 - Drop ShutdownLoaders phase, move only user to ShutdownFinal. r=mccr8
The only difference between ShutdownLoaders and ShutdownFinal was an observer service shutdown. Differential Revision: https://phabricator.services.mozilla.com/D18389 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b42e6c8e11
Коммит
750080f1a9
|
@ -246,7 +246,7 @@ class SingletonThreadHolder final {
|
|||
static StaticRefPtr<SingletonThreadHolder> sThread;
|
||||
|
||||
static void ClearSingletonOnShutdown() {
|
||||
ClearOnShutdown(&sThread, ShutdownPhase::ShutdownLoaders);
|
||||
ClearOnShutdown(&sThread);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@ enum class ShutdownPhase {
|
|||
WillShutdown,
|
||||
Shutdown,
|
||||
ShutdownThreads,
|
||||
ShutdownLoaders,
|
||||
ShutdownFinal,
|
||||
ShutdownPhase_Length, // never pass this value
|
||||
First = WillShutdown, // for iteration
|
||||
|
|
|
@ -663,7 +663,6 @@ nsresult ShutdownXPCOM(nsIServiceManager* aServMgr) {
|
|||
mozilla::InitLateWriteChecks();
|
||||
|
||||
if (observerService) {
|
||||
mozilla::KillClearOnShutdown(ShutdownPhase::ShutdownLoaders);
|
||||
observerService->Shutdown();
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче