Bug 1496529 - P4. Remove unnecessary code. r=bryce
authorJean-Yves Avenard <jyavenard@mozilla.com>
Tue, 09 Oct 2018 16:59:12 +0000
changeset 498800 b76ae0d758d9ae80d762c901c0faa321ddba57f1
parent 498799 19cdb829699f0bcaa047c7a29bb9d6b494f4e412
child 498801 93312ff3f1808a9e79a961d879c340eee99a22b1
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbryce
bugs1496529
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1496529 - P4. Remove unnecessary code. r=bryce TaskQueue no longer requires explicit shutdown Depends on D7862 Differential Revision: https://phabricator.services.mozilla.com/D7864
media/webrtc/signaling/src/media-conduit/WebrtcMediaDataDecoderCodec.cpp
--- a/media/webrtc/signaling/src/media-conduit/WebrtcMediaDataDecoderCodec.cpp
+++ b/media/webrtc/signaling/src/media-conduit/WebrtcMediaDataDecoderCodec.cpp
@@ -21,18 +21,16 @@ WebrtcMediaDataDecoder::WebrtcMediaDataD
       layers::ImageContainer::ASYNCHRONOUS))
   , mFactory(new PDMFactory())
   , mTrackType(TrackInfo::kUndefinedTrack)
 {
 }
 
 WebrtcMediaDataDecoder::~WebrtcMediaDataDecoder()
 {
-  mTaskQueue->BeginShutdown();
-  mTaskQueue->AwaitShutdownAndIdle();
 }
 
 int32_t
 WebrtcMediaDataDecoder::InitDecode(const webrtc::VideoCodec* aCodecSettings,
                                    int32_t aNumberOfCores)
 {
   nsCString codec;
   switch (aCodecSettings->codecType) {