- Timestamp:
- Nov 21, 2018 8:22:34 AM (6 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transaction.c
r5759 r5909 2389 2389 2390 2390 if (tsx->transport) { 2391 pjsip_transport_remove_state_listener(tsx->transport, 2392 tsx->tp_st_key, tsx); 2391 if (tsx->tp_st_key) { 2392 pjsip_transport_remove_state_listener(tsx->transport, 2393 tsx->tp_st_key, tsx); 2394 } 2393 2395 pjsip_transport_dec_ref( tsx->transport ); 2394 2396 tsx->transport = NULL; -
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r5886 r5909 2440 2440 PJ_ASSERT_RETURN(tp && cb && key, PJ_EINVAL); 2441 2441 2442 if (tp->is_shutdown) { 2443 *key = NULL; 2444 return PJ_EINVALIDOP; 2445 } 2446 2442 2447 pj_lock_acquire(tp->lock); 2443 2448 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r5906 r5909 3915 3915 unsigned i = 0; 3916 3916 3917 PJSUA_LOCK(); 3917 3918 if (acc->cfg.ip_change_cfg.hangup_calls || 3918 3919 acc->cfg.ip_change_cfg.reinvite_flags) … … 3984 3985 } 3985 3986 acc->ip_change_op = PJSUA_IP_CHANGE_OP_NULL; 3987 PJSUA_UNLOCK(); 3986 3988 return status; 3987 3989 } -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r5876 r5909 3547 3547 pj_bool_t acc_done[PJSUA_MAX_ACC]; 3548 3548 3549 PJSUA_LOCK(); 3549 3550 /* Reset ip_change_active flag. */ 3550 3551 for (; i < (int)PJ_ARRAY_SIZE(pjsua_var.acc); ++i) { … … 3661 3662 } 3662 3663 } 3664 PJSUA_UNLOCK(); 3663 3665 return status; 3664 3666 } … … 3773 3775 3774 3776 if (param->restart_listener) { 3777 PJSUA_LOCK(); 3775 3778 /* Restart listener/transport, handle_ip_change_on_acc() will 3776 3779 * be called after listener restart is completed successfully. … … 3786 3789 } 3787 3790 } 3791 PJSUA_UNLOCK(); 3788 3792 } else { 3789 3793 status = handle_ip_change_on_acc();
Note: See TracChangeset
for help on using the changeset viewer.