mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 774388 - Tiny reordering of when we shut down Layers IPC - r=nical,mattwoodrow
This commit is contained in:
parent
6d9de90e4f
commit
70039c048d
@ -811,17 +811,17 @@ ShutdownXPCOM(nsIServiceManager* servMgr)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This must happen after the shutdown of media and widgets, which
|
||||||
|
// are triggered by the NS_XPCOM_SHUTDOWN_OBSERVER_ID notification.
|
||||||
NS_ProcessPendingEvents(thread);
|
NS_ProcessPendingEvents(thread);
|
||||||
|
gfxPlatform::ShutdownLayersIPC();
|
||||||
|
|
||||||
mozilla::scache::StartupCache::DeleteSingleton();
|
mozilla::scache::StartupCache::DeleteSingleton();
|
||||||
if (observerService)
|
if (observerService)
|
||||||
(void) observerService->
|
(void) observerService->
|
||||||
NotifyObservers(nullptr, NS_XPCOM_SHUTDOWN_THREADS_OBSERVER_ID,
|
NotifyObservers(nullptr, NS_XPCOM_SHUTDOWN_THREADS_OBSERVER_ID,
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
// This must happen after the shutdown of media and widgets, which
|
|
||||||
// are triggered by the NS_XPCOM_SHUTDOWN_OBSERVER_ID notification.
|
|
||||||
gfxPlatform::ShutdownLayersIPC();
|
|
||||||
|
|
||||||
gXPCOMThreadsShutDown = true;
|
gXPCOMThreadsShutDown = true;
|
||||||
NS_ProcessPendingEvents(thread);
|
NS_ProcessPendingEvents(thread);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user