[Freeswitch-svn] [commit] r7940 - freeswitch/trunk/src/mod/endpoints/mod_dingaling
Freeswitch SVN
anthm at freeswitch.org
Wed Mar 19 20:32:28 EDT 2008
Author: anthm
Date: Wed Mar 19 20:32:28 2008
New Revision: 7940
Modified:
freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
Log:
signal_lock sux on gtalk
Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c Wed Mar 19 20:32:28 2008
@@ -2538,8 +2538,6 @@
if ((session = ldl_session_get_private(dlsession))) {
-
- switch_core_session_signal_lock(session);
tech_pvt = switch_core_session_get_private(session);
switch_assert(tech_pvt != NULL);
@@ -2561,7 +2559,6 @@
}
if ((session = switch_core_session_request(dingaling_endpoint_interface, NULL)) != 0) {
switch_core_session_add_stream(session, NULL);
- switch_core_session_signal_lock(session);
if ((tech_pvt = (struct private_object *) switch_core_session_alloc(session, sizeof(struct private_object))) != 0) {
char *exten;
@@ -2946,11 +2943,9 @@
break;
}
+
done:
- if (session) {
- switch_core_session_signal_unlock(session);
- }
return status;
}
More information about the Freeswitch-svn
mailing list