提交 8533c32f authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3095 regression from 547d5393

上级 419d7e23
...@@ -4625,6 +4625,7 @@ static switch_status_t conf_api_sub_transfer(conference_obj_t *conference, switc ...@@ -4625,6 +4625,7 @@ static switch_status_t conf_api_sub_transfer(conference_obj_t *conference, switc
/* move the member from the old conference to the new one */ /* move the member from the old conference to the new one */
lock_member(member); lock_member(member);
switch_thread_rwlock_unlock(member->rwlock);
if (conference != new_conference) { if (conference != new_conference) {
conference_del_member(conference, member); conference_del_member(conference, member);
...@@ -4660,10 +4661,6 @@ static switch_status_t conf_api_sub_transfer(conference_obj_t *conference, switc ...@@ -4660,10 +4661,6 @@ static switch_status_t conf_api_sub_transfer(conference_obj_t *conference, switc
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Action", "transfer"); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Action", "transfer");
switch_event_fire(&event); switch_event_fire(&event);
} }
if (member) {
switch_thread_rwlock_unlock(member->rwlock);
}
} }
if (new_conference) { if (new_conference) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论