提交 ac467b5d authored 作者: Michael Jerris's avatar Michael Jerris

don't remove the event NULL

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8903 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 d13e1bd4
......@@ -1074,7 +1074,11 @@ SWITCH_DECLARE(switch_status_t) switch_event_unbind(switch_event_node_t **node)
switch_status_t status = SWITCH_STATUS_FALSE;
n = *node;
if (!n) {
return status;
}
switch_thread_rwlock_wrlock(RWLOCK);
switch_mutex_lock(BLOCK);
/* <LOCKED> ----------------------------------------------- */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论