This commit is contained in:
Anthony Minessale 2013-09-06 00:48:18 +05:00
parent e195b8512d
commit 471772489a
1 changed files with 1 additions and 1 deletions

View 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 ) {