Bug 951175 - [RTSP] Disabling the hotspot will cause a system crash while playing RTSP streaming. r=sworkman, a=1.3+
authorEthan Tseng <ettseng@mozilla.com>
Thu, 09 Jan 2014 16:18:31 +0800
changeset 175717 2353b531ccc61fd6764cdb36b770d97afc0e9296
parent 175716 210e31f22de1cc548dbd62c71c78cda4b934c72f
child 175718 724948445046bcb3ef48cef22033cf6b98b58dfc
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssworkman, 1
bugs951175
milestone28.0a2
Bug 951175 - [RTSP] Disabling the hotspot will cause a system crash while playing RTSP streaming. r=sworkman, a=1.3+
netwerk/protocol/rtsp/rtsp/RTSPSource.cpp
--- a/netwerk/protocol/rtsp/rtsp/RTSPSource.cpp
+++ b/netwerk/protocol/rtsp/rtsp/RTSPSource.cpp
@@ -579,17 +579,16 @@ void RTSPSource::onDisconnected(const sp
     mAudioTrack = NULL;
     mVideoTrack = NULL;
     mTracks.clear();
 }
 
 void RTSPSource::finishDisconnectIfPossible() {
     if (mState != DISCONNECTED) {
         mHandler->disconnect();
-        return;
     }
 
     (new AMessage)->postReply(mDisconnectReplyID);
     mDisconnectReplyID = 0;
 }
 
 void RTSPSource::onTrackDataAvailable(size_t trackIndex)
 {