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
Родитель 88714c5091
Коммит d707e31043
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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