move rwunlock where it makes sense
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13129 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5770dbebbd
commit
351b150384
|
@ -2838,8 +2838,8 @@ void *SWITCH_THREAD_FUNC media_on_hold_thread_run(switch_thread_t *thread, void
|
|||
}
|
||||
|
||||
sofia_glue_toggle_hold(tech_pvt, 1);
|
||||
switch_core_session_rwunlock(other_session);
|
||||
}
|
||||
switch_core_session_rwunlock(other_session);
|
||||
}
|
||||
|
||||
switch_core_session_rwunlock(session);
|
||||
|
|
Loading…
Reference in New Issue