提交 46765321 authored 作者: Andrew Thompson's avatar Andrew Thompson

Don't make channels stuck


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14428 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 14b0e7d5
......@@ -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_listener_", NULL);
/* 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? */
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论