mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-06 10:26:41 +00:00
close fd on fsv_record
This commit is contained in:
parent
de4bf23d59
commit
f5fe8bc5f6
@ -273,6 +273,11 @@ SWITCH_STANDARD_APP(record_fsv_function)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fd > -1) {
|
||||||
|
close(fd);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
switch_core_session_set_read_codec(session, NULL);
|
switch_core_session_set_read_codec(session, NULL);
|
||||||
switch_core_codec_destroy(&codec);
|
switch_core_codec_destroy(&codec);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user