Loading dom/media/ipc/RemoteDecoderManagerChild.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -151,11 +151,19 @@ void RemoteDecoderManagerChild::Shutdown() { sRemoteDecoderManagerChildForRDDProcess->Close(); } sRemoteDecoderManagerChildForRDDProcess = nullptr; { StaticMutexAutoLock lock(sLaunchRDDMutex); sLaunchRDDPromise = nullptr; } if (sRemoteDecoderManagerChildForUtilityProcess && sRemoteDecoderManagerChildForUtilityProcess->CanSend()) { sRemoteDecoderManagerChildForUtilityProcess->Close(); } sRemoteDecoderManagerChildForUtilityProcess = nullptr; { StaticMutexAutoLock lock(sLaunchUtilityMutex); sLaunchUtilityPromise = nullptr; } if (sRemoteDecoderManagerChildForGPUProcess && sRemoteDecoderManagerChildForGPUProcess->CanSend()) { sRemoteDecoderManagerChildForGPUProcess->Close(); Loading Loading
dom/media/ipc/RemoteDecoderManagerChild.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -151,11 +151,19 @@ void RemoteDecoderManagerChild::Shutdown() { sRemoteDecoderManagerChildForRDDProcess->Close(); } sRemoteDecoderManagerChildForRDDProcess = nullptr; { StaticMutexAutoLock lock(sLaunchRDDMutex); sLaunchRDDPromise = nullptr; } if (sRemoteDecoderManagerChildForUtilityProcess && sRemoteDecoderManagerChildForUtilityProcess->CanSend()) { sRemoteDecoderManagerChildForUtilityProcess->Close(); } sRemoteDecoderManagerChildForUtilityProcess = nullptr; { StaticMutexAutoLock lock(sLaunchUtilityMutex); sLaunchUtilityPromise = nullptr; } if (sRemoteDecoderManagerChildForGPUProcess && sRemoteDecoderManagerChildForGPUProcess->CanSend()) { sRemoteDecoderManagerChildForGPUProcess->Close(); Loading