FS-3095 regression from 547d53932c
This commit is contained in:
parent
419d7e2335
commit
8533c32fe1
|
@ -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
|
||||||
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) {
|
||||||
|
|
Loading…
Reference in New Issue