From: Anthony Minessale Date: Tue, 14 Jun 2011 16:40:39 +0000 (-0500) Subject: remove superfluous hangup X-Git-Tag: v1.2-rc1~108^2~11^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50817655750fc953f2f1c558ef6593d98bbad006;p=thirdparty%2Ffreeswitch.git remove superfluous hangup --- diff --git a/src/mod/endpoints/mod_rtmp/mod_rtmp.c b/src/mod/endpoints/mod_rtmp/mod_rtmp.c index 87f347710b..35fe4bb885 100644 --- a/src/mod/endpoints/mod_rtmp/mod_rtmp.c +++ b/src/mod/endpoints/mod_rtmp/mod_rtmp.c @@ -302,7 +302,7 @@ switch_status_t rtmp_kill_channel(switch_core_session_t *session, int sig) switch (sig) { case SWITCH_SIG_KILL: switch_clear_flag_locked(tech_pvt, TFLAG_IO); - switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING); + break; case SWITCH_SIG_BREAK: switch_set_flag_locked(tech_pvt, TFLAG_BREAK);