Bug 1642290: stop the process preallocator during normal shutdown, not post-CC r=nika

Post-CC is no longer needed given the landing of bug 1642491

Differential Revision: https://phabricator.services.mozilla.com/D79017
This commit is contained in:
Randell Jesup 2020-06-10 13:36:40 +00:00
parent 88714c5091
commit d707e31043

View File

@ -101,8 +101,7 @@ PreallocatedProcessManagerImpl* PreallocatedProcessManagerImpl::Singleton() {
if (!sSingleton) {
sSingleton = new PreallocatedProcessManagerImpl;
sSingleton->Init();
ClearOnShutdown(&sSingleton,
ShutdownPhase::ShutdownPostLastCycleCollection);
ClearOnShutdown(&sSingleton);
}
return sSingleton;
// PreallocatedProcessManagers live until shutdown