Skip to content
Snippets Groups Projects
Commit 3186951e authored by pierre-luc's avatar pierre-luc
Browse files

[#811] Harmless no to throw an exception, an makes the application less

prone to crashes.
parent a102e499
No related branches found
No related tags found
No related merge requests found
...@@ -137,7 +137,8 @@ namespace sfl { ...@@ -137,7 +137,8 @@ namespace sfl {
ost::MutexLock mutex(_audioRtpThreadMutex); ost::MutexLock mutex(_audioRtpThreadMutex);
_debug("Stopping audio rtp session\n"); _debug("Stopping audio rtp session\n");
if (_rtpSession == NULL) { if (_rtpSession == NULL) {
throw AudioRtpFactoryException("_rtpSession is null when trying to stop"); _debugException("_rtpSession is null when trying to stop. Returning.");
return;
} }
try { try {
switch(_rtpSessionType) { switch(_rtpSessionType) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment