Unlock the session like we should be doing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12594 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
891d8a0f5e
commit
34e3747ef7
|
@ -584,6 +584,9 @@ static switch_status_t handle_msg_handlecall(listener_t *listener, erlang_msg *m
|
|||
ei_x_encode_atom(rbuf, "error");
|
||||
ei_x_encode_atom(rbuf, "badsession");
|
||||
}
|
||||
/* release the lock returned by switch_core_locate_session */
|
||||
switch_core_session_rwunlock(session);
|
||||
|
||||
} else {
|
||||
ei_x_encode_tuple_header(rbuf, 2);
|
||||
ei_x_encode_atom(rbuf, "error");
|
||||
|
|
Loading…
Reference in New Issue