From 72d9e76fca6ef87c690dca3af1d97b0239e97664 Mon Sep 17 00:00:00 2001 From: trav90 Date: Fri, 25 May 2018 10:35:10 -0500 Subject: [PATCH] Revoke MediaDataDecoder callback after RemoteVideoDecoder has been shut down --- dom/media/ipc/VideoDecoderChild.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dom/media/ipc/VideoDecoderChild.cpp b/dom/media/ipc/VideoDecoderChild.cpp index d1b1d23fca..f01d3c659f 100644 --- a/dom/media/ipc/VideoDecoderChild.cpp +++ b/dom/media/ipc/VideoDecoderChild.cpp @@ -238,6 +238,7 @@ VideoDecoderChild::Shutdown() SendShutdown(); } mInitialized = false; + mCallback = nullptr; } bool