зеркало из https://github.com/mozilla/gecko-dev.git
Bug 942040 - Remove a process from BackgroundProcessLRUPool in ParticularProcessPriorityManager only if it is indeed a background process. r=khuey
This commit is contained in:
Родитель
d5337ec0b8
Коммит
8caf4f9ee0
|
@ -1045,7 +1045,9 @@ ParticularProcessPriorityManager::ShutDown()
|
|||
mResetPriorityTimer = nullptr;
|
||||
}
|
||||
|
||||
if (mPriority == PROCESS_PRIORITY_BACKGROUND && !IsPreallocated()) {
|
||||
ProcessPriorityManager::RemoveFromBackgroundLRUPool(mContentParent);
|
||||
}
|
||||
|
||||
mContentParent = nullptr;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче