mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-10383 [freeswitch-core] Destroy RTP session write timer
This commit is contained in:
parent
44c6ad50d2
commit
feccf1e874
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user