FS-10405: fix typo in timer destroy check
This commit is contained in:
parent
3bcf5b7ff8
commit
b1237ffef4
|
@ -4918,7 +4918,7 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session)
|
|||
switch_core_timer_destroy(&(*rtp_session)->timer);
|
||||
}
|
||||
|
||||
if ((*rtp_session)->timer.timer_interface) {
|
||||
if ((*rtp_session)->write_timer.timer_interface) {
|
||||
switch_core_timer_destroy(&(*rtp_session)->write_timer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue