mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
signal_lock sux on gtalk
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7940 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5e32936eff
commit
489c9cddd6
@ -2538,8 +2538,6 @@ static ldl_status handle_signalling(ldl_handle_t * handle, ldl_session_t * dlses
|
||||
|
||||
|
||||
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 @@ static ldl_status handle_signalling(ldl_handle_t * handle, ldl_session_t * dlses
|
||||
}
|
||||
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 @@ static ldl_status handle_signalling(ldl_handle_t * handle, ldl_session_t * dlses
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
done:
|
||||
|
||||
if (session) {
|
||||
switch_core_session_signal_unlock(session);
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user