Bug 1522535: Break a cycle triggered by a recent web-platform-test merge. r=jib a=lizzard
authorByron Campen [:bwc] <docfaraday@gmail.com>
Fri, 08 Feb 2019 16:57:45 +0000
changeset 515882 49a04a5d8d979f1d8b90352c675d22a91f17fcdb
parent 515881 733e8bfd0ba3743941128235f388af561fda3cea
child 515883 a61f757afab3036bd346a8e1dff36fadafb12fc3
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjib, lizzard
bugs1522535
milestone66.0
Bug 1522535: Break a cycle triggered by a recent web-platform-test merge. r=jib a=lizzard Differential Revision: https://phabricator.services.mozilla.com/D19171
media/webrtc/signaling/src/peerconnection/TransceiverImpl.cpp
--- a/media/webrtc/signaling/src/peerconnection/TransceiverImpl.cpp
+++ b/media/webrtc/signaling/src/peerconnection/TransceiverImpl.cpp
@@ -113,16 +113,17 @@ nsresult TransceiverImpl::UpdateSinkIden
 }
 
 void TransceiverImpl::Shutdown_m() {
   mReceivePipeline->Shutdown_m();
   mTransmitPipeline->Shutdown_m();
   mReceivePipeline = nullptr;
   mTransmitPipeline = nullptr;
   mTransportHandler = nullptr;
+  mReceiveTrack = nullptr;
   mSendTrack = nullptr;
   if (mConduit) {
     mConduit->DeleteStreams();
   }
   mConduit = nullptr;
 }
 
 nsresult TransceiverImpl::UpdateSendTrack(dom::MediaStreamTrack* aSendTrack) {