зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
88714c5091
Коммит
d707e31043
|
@ -101,8 +101,7 @@ PreallocatedProcessManagerImpl* PreallocatedProcessManagerImpl::Singleton() {
|
||||||
if (!sSingleton) {
|
if (!sSingleton) {
|
||||||
sSingleton = new PreallocatedProcessManagerImpl;
|
sSingleton = new PreallocatedProcessManagerImpl;
|
||||||
sSingleton->Init();
|
sSingleton->Init();
|
||||||
ClearOnShutdown(&sSingleton,
|
ClearOnShutdown(&sSingleton);
|
||||||
ShutdownPhase::ShutdownPostLastCycleCollection);
|
|
||||||
}
|
}
|
||||||
return sSingleton;
|
return sSingleton;
|
||||||
// PreallocatedProcessManagers live until shutdown
|
// PreallocatedProcessManagers live until shutdown
|
||||||
|
|
Загрузка…
Ссылка в новой задаче