mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
fix double close of filehandles and add recording of native files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11108 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
732677a58f
commit
c711a50846
3 files changed
+75
-35
No files matched your search
@@ -251,7 +251,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
|
||||
|
||||
done:
|
||||
|
||||
if (fh.file_interface) {
|
||||
if (switch_test_flag((&fh), SWITCH_FILE_OPEN)) {
|
||||
switch_core_file_close(&fh);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user