зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1561178 - Shutdown video bridge for all processes that might be using it. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D36000 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3e1eacd221
Коммит
f07980eb66
|
@ -208,6 +208,8 @@ void RDDParent::ActorDestroy(ActorDestroyReason aWhy) {
|
|||
}
|
||||
#endif
|
||||
|
||||
RemoteDecoderManagerParent::ShutdownVideoBridge();
|
||||
|
||||
CrashReporterClient::DestroySingleton();
|
||||
XRE_ShutdownChildProcess();
|
||||
}
|
||||
|
|
|
@ -75,6 +75,7 @@ class RemoteDecoderManagerThreadShutdownObserver : public nsIObserver {
|
|||
const char16_t* aData) override {
|
||||
MOZ_ASSERT(strcmp(aTopic, NS_XPCOM_SHUTDOWN_OBSERVER_ID) == 0);
|
||||
|
||||
RemoteDecoderManagerParent::ShutdownVideoBridge();
|
||||
RemoteDecoderManagerParent::ShutdownThreads();
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче