Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug
This commit is contained in:
@@ -1108,7 +1108,7 @@ ParticularProcessPriorityManager::ComputePriority()
|
||||
}
|
||||
|
||||
RefPtr<AudioChannelService> service = AudioChannelService::GetOrCreate();
|
||||
if (service->ProcessContentOrNormalChannelIsActive(ChildID())) {
|
||||
if (service && service->ProcessContentOrNormalChannelIsActive(ChildID())) {
|
||||
return PROCESS_PRIORITY_BACKGROUND_PERCEIVABLE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user