From ecd9788a6d93bae093dcdcc516ffc0da810e9152 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 6 Sep 2013 00:50:17 +0500 Subject: [PATCH] revert --- src/mod/endpoints/mod_rtmp/mod_rtmp.c | 2 -- 1 file changed, 2 deletions(-) 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