mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 11:50:53 +00:00
fix switch_core_thread_session_end to not make the channel hangup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@439 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
3c70912026
commit
217b5e2735
2 files changed
+2
-6
No files matched your search
@@ -515,10 +515,6 @@ static void *switch_core_service_thread(switch_thread *thread, void *obj)
|
||||
/* Either add a timeout here or make damn sure the thread cannot get hung somehow (my preference) */
|
||||
SWITCH_DECLARE(void) switch_core_thread_session_end(switch_core_thread_session *thread_session)
|
||||
{
|
||||
switch_core_session *session = thread_session->objs[0];
|
||||
|
||||
switch_core_session_kill_channel(session, SWITCH_SIG_KILL);
|
||||
|
||||
if (thread_session->running > 0) {
|
||||
thread_session->running = -1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user