Bug 951175 - [RTSP] Disabling the hotspot will cause a system crash while playing RTSP streaming. r=sworkman
authorEthan Tseng <ettseng@mozilla.com>
Thu, 09 Jan 2014 16:18:31 +0800
changeset 163125 92f05bd3d5da98f174ece9fca98d6faf99a6ddf5
parent 163124 bbc7ef6e8fbacfee8bf4b1aa310763995638b759
child 163126 e6d9c993948eba37c90887eb8b05fa6d38ab38c8
push id25982
push userryanvm@gmail.com
push dateMon, 13 Jan 2014 22:30:39 +0000
treeherdermozilla-central@d524c4b2cbb8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssworkman
bugs951175
milestone29.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 951175 - [RTSP] Disabling the hotspot will cause a system crash while playing RTSP streaming. r=sworkman
netwerk/protocol/rtsp/rtsp/RTSPSource.cpp
--- a/netwerk/protocol/rtsp/rtsp/RTSPSource.cpp
+++ b/netwerk/protocol/rtsp/rtsp/RTSPSource.cpp
@@ -597,17 +597,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)
 {