diff --git a/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp b/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp index e603c13731745ed6dbf6f45326dbea95921356e9..9dbec99bc0c476e90bb76bb1c3923d16a6aca4cf 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp +++ b/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp @@ -137,7 +137,8 @@ namespace sfl { ost::MutexLock mutex(_audioRtpThreadMutex); _debug("Stopping audio rtp session\n"); if (_rtpSession == NULL) { - throw AudioRtpFactoryException("_rtpSession is null when trying to stop"); + _debugException("_rtpSession is null when trying to stop. Returning."); + return; } try { switch(_rtpSessionType) {