From: Anthony Minessale Date: Thu, 5 Sep 2013 19:50:17 +0000 (+0500) Subject: revert X-Git-Tag: v1.5.6~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b5e18af41ec0df9b9c52397ac964a622d2790e0;p=thirdparty%2Ffreeswitch.git revert --- diff --git a/src/mod/endpoints/mod_rtmp/mod_rtmp.c b/src/mod/endpoints/mod_rtmp/mod_rtmp.c index 2ba21a1d6b..339ce81873 100644 --- a/src/mod/endpoints/mod_rtmp/mod_rtmp.c +++ b/src/mod/endpoints/mod_rtmp/mod_rtmp.c @@ -849,8 +849,6 @@ switch_status_t rtmp_session_destroy(rtmp_session_t **rsession) /* At this point we don't know if the session still exists, so request a fresh pointer to it from the core. */ if ( (session = switch_core_session_locate((char *)key)) != NULL ) { - switch_core_session_rwunlock(session); - /* * This is here so that if the FS session still exists and has the FS session write(or read) lock, then we won't destroy the rsession * until the FS session is finished with it. But if the rsession is able to get the FS session