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 174743 2353b531ccc61fd6764cdb36b770d97afc0e9296
parent 174742 210e31f22de1cc548dbd62c71c78cda4b934c72f
child 174744 724948445046bcb3ef48cef22033cf6b98b58dfc
push id3224
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:06:49 +0000
treeherdermozilla-beta@60c04d0987f1 [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)
 {