mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
FS-5240: --resolve Please test
This commit is contained in:
1 parent
784d5722fa
commit
17781cba1c
3 files changed
+40
-23
No files matched your search
@@ -176,8 +176,16 @@ static switch_status_t rtmp_tcp_close(rtmp_session_t *rsession)
|
||||
switch_mutex_unlock(io->mutex);
|
||||
|
||||
switch_socket_close(io_pvt->socket);
|
||||
io_pvt->socket = NULL;
|
||||
io_pvt->socket = NULL;
|
||||
}
|
||||
|
||||
if ( io_pvt->sendq ) {
|
||||
switch_buffer_destroy(&(io_pvt->sendq));
|
||||
}
|
||||
|
||||
free(rsession->io_private);
|
||||
rsession->io_private = NULL;
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -276,6 +284,8 @@ void *SWITCH_THREAD_FUNC rtmp_io_tcp_thread(switch_thread_t *thread, void *obj)
|
||||
|
||||
switch_socket_close(io_pvt->socket);
|
||||
io_pvt->socket = NULL;
|
||||
|
||||
io->base.close(rsession);
|
||||
|
||||
rtmp_session_destroy(&rsession);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user