Merge pull request #1302 in FS/freeswitch from ~F93/freeswitch:bugfix/FS-10383-fs-does-not-close-timerfd-descriptors to master

* commit 'feccf1e87465194e34f14f127bfaffdcc50622b2':
  FS-10383 [freeswitch-core] Destroy RTP session write timer
This commit is contained in:
Mike Jerris 2017-06-09 22:31:34 +00:00
commit 56d66e9f7a
1 changed files with 1 additions and 0 deletions

View File

@ -4913,6 +4913,7 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session)
#endif
if ((*rtp_session)->timer.timer_interface) {
switch_core_timer_destroy(&(*rtp_session)->timer);
switch_core_timer_destroy(&(*rtp_session)->write_timer);
}
switch_rtp_release_port((*rtp_session)->rx_host, (*rtp_session)->rx_port);