mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 968297 - Prevent the priority manager from changing the Nuwa process priority. r=khuey
This commit is contained in:
parent
7ee00912e6
commit
dabcdcbecc
@ -971,6 +971,13 @@ ParticularProcessPriorityManager::SetPriorityNow(ProcessPriority aPriority,
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
// Do not attempt to change the priority of the Nuwa process
|
||||
if (mContentParent->IsNuwaProcess()) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (aBackgroundLRU > 0 &&
|
||||
aPriority == PROCESS_PRIORITY_BACKGROUND &&
|
||||
mPriority == PROCESS_PRIORITY_BACKGROUND) {
|
||||
|
Loading…
Reference in New Issue
Block a user