mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
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:
parent
3e1eacd221
commit
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user