]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
revert
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 5 Sep 2013 19:48:18 +0000 (00:48 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 5 Sep 2013 19:48:18 +0000 (00:48 +0500)
src/mod/endpoints/mod_rtmp/mod_rtmp.c

index b7a90a969b8259cb9ed38f4925185f5ce46d9d9c..2ba21a1d6bf4ecfec82277f06ce62ecfe24151a6 100644 (file)
@@ -857,7 +857,7 @@ switch_status_t rtmp_session_destroy(rtmp_session_t **rsession)
                         * write lock, before the FS session is hungup, then once the FS session does get the write lock
                         * the rsession pointer will be null, and the FS session will never try and touch the already destroyed rsession.
                         */
-                       switch_core_session_write_lock(session);
+
                        channel = switch_core_session_get_channel(session);
                        tech_pvt = switch_core_session_get_private(session);
                        if ( tech_pvt && tech_pvt->rtmp_session ) {