From 50817655750fc953f2f1c558ef6593d98bbad006 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 14 Jun 2011 11:40:39 -0500 Subject: [PATCH] remove superfluous hangup --- src/mod/endpoints/mod_rtmp/mod_rtmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);