[Freeswitch-trunk] [commit] r12594 - freeswitch/trunk/src/mod/event_handlers/mod_erlang_event
FreeSWITCH SVN
andrew at freeswitch.org
Fri Mar 13 12:55:55 PDT 2009
Author: andrew
Date: Fri Mar 13 14:55:55 2009
New Revision: 12594
Log:
Unlock the session like we should be doing
Modified:
freeswitch/trunk/src/mod/event_handlers/mod_erlang_event/handle_msg.c
Modified: freeswitch/trunk/src/mod/event_handlers/mod_erlang_event/handle_msg.c
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_erlang_event/handle_msg.c (original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_erlang_event/handle_msg.c Fri Mar 13 14:55:55 2009
@@ -584,6 +584,9 @@
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");
More information about the Freeswitch-trunk
mailing list