summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-05-25 10:35:10 -0500
committertrav90 <travawine@palemoon.org>2018-05-25 10:35:10 -0500
commitf2d541d3ea44b56d3c4ce47fe7b326e58abc786f (patch)
treeca3fcaa2a72700b85221b2fe75bb7d46d5d424ce /dom
parent6ca361bd5b2394b2613ac0f67cf87723ecad4501 (diff)
downloadUXP-f2d541d3ea44b56d3c4ce47fe7b326e58abc786f.tar
UXP-f2d541d3ea44b56d3c4ce47fe7b326e58abc786f.tar.gz
UXP-f2d541d3ea44b56d3c4ce47fe7b326e58abc786f.tar.lz
UXP-f2d541d3ea44b56d3c4ce47fe7b326e58abc786f.tar.xz
UXP-f2d541d3ea44b56d3c4ce47fe7b326e58abc786f.zip
Revoke MediaDataDecoder callback after RemoteVideoDecoder has been shut down
Diffstat (limited to 'dom')
-rw-r--r--dom/media/ipc/VideoDecoderChild.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/media/ipc/VideoDecoderChild.cpp b/dom/media/ipc/VideoDecoderChild.cpp
index d1b1d23fc..f01d3c659 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