FS-8612 #resolve [rare ivr originated calls crash due to read codec leak]
This commit is contained in:
parent
b52a57e751
commit
ad696ccabf
|
@ -1863,6 +1863,7 @@ static void *SWITCH_THREAD_FUNC early_thread_run(switch_thread_t *thread, void *
|
|||
if (!session) continue;
|
||||
|
||||
if (switch_core_codec_ready((&read_codecs[i]))) {
|
||||
switch_core_session_set_read_codec(session, NULL);
|
||||
switch_core_codec_destroy(&read_codecs[i]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue