mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-25 11:16:04 +00:00
Don't make channels stuck
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14428 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
14b0e7d568
commit
467653216a
@ -688,6 +688,7 @@ static void handle_exit(listener_t *listener, erlang_pid *pid)
|
|||||||
switch_channel_set_private(channel, "_erlang_session_", NULL);
|
switch_channel_set_private(channel, "_erlang_session_", NULL);
|
||||||
switch_channel_set_private(channel, "_erlang_listener_", NULL);
|
switch_channel_set_private(channel, "_erlang_listener_", NULL);
|
||||||
/* TODO can we clear out the state_change hook too? */
|
/* TODO can we clear out the state_change hook too? */
|
||||||
|
switch_core_session_rwunlock(session);
|
||||||
}
|
}
|
||||||
/* TODO - if a spawned process that was handling an outbound call fails.. what do we do with the call? */
|
/* TODO - if a spawned process that was handling an outbound call fails.. what do we do with the call? */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user