提交 53bdc833 authored 作者: Anthony Minessale's avatar Anthony Minessale

add another destroy case for notify packets

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12867 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 70a173d0
......@@ -539,6 +539,11 @@ void sofia_event_callback(nua_event_t event,
break;
}
if ((sofia_private && sofia_private == &mod_sofia_globals.destroy_private) || (status >= 300 && status != 401 && status != 407)) {
nua_handle_bind(nh, NULL);
nua_handle_destroy(nh);
nh = NULL;
}
if (check_destroy) {
if (nh && ((sofia_private && sofia_private->destroy_nh) || !nua_handle_magic(nh))) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论