Revert "fixed stuck mod_rtmp session when the call is killed from fs side, such as using uuid_kill"

This reverts commit d8edc031fa.

Conflicts:
	src/mod/endpoints/mod_rtmp/mod_rtmp.c
This commit is contained in:
William King 2013-05-07 16:04:54 -07:00
parent 2b950b9599
commit f4bde33dab
1 changed files with 0 additions and 7 deletions

View File

@ -238,13 +238,6 @@ switch_status_t rtmp_on_destroy(switch_core_session_t *session)
switch_buffer_destroy(&tech_pvt->readbuf);
switch_core_timer_destroy(&tech_pvt->timer);
if (tech_pvt->rtmp_session) {
rtmp_session_t *rsession = tech_pvt->rtmp_session;
if (rsession->state != RS_DESTROY) {
rtmp_session_destroy(&rsession);
}
}
}
return SWITCH_STATUS_SUCCESS;