mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
[mod_sofia] Use thread-safe alternatives when destroying nua and nua_handle references. Bump sofia-sip library requirement to version 1.13.3
This commit is contained in:
@@ -1328,7 +1328,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
||||
de->session = session;
|
||||
}
|
||||
|
||||
sofia_process_dispatch_event(&de);
|
||||
sofia_process_dispatch_event(&de, SWITCH_FALSE);
|
||||
|
||||
|
||||
switch_mutex_unlock(tech_pvt->sofia_mutex);
|
||||
@@ -5791,7 +5791,7 @@ void general_event_handler(switch_event_t *event)
|
||||
TAG_IF(call_info, SIPTAG_CALL_INFO_STR(call_info)), TAG_IF(!zstr(body), SIPTAG_PAYLOAD_STR(body)), TAG_END());
|
||||
|
||||
if (call_id && nh) {
|
||||
nua_handle_unref(nh);
|
||||
nua_handle_unref_user(nh);
|
||||
}
|
||||
|
||||
done:
|
||||
|
||||
Reference in New Issue
Block a user