Changeset 5613


Ignore:
Timestamp:
Jul 4, 2017 12:13:24 AM (7 years ago)
Author:
ming
Message:

Fixed #2025: crash in pjsua_destroy if there's pending outgoing TCP/TLS transmission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transaction.c

    r5593 r5613  
    18491849        *cont = PJ_FALSE; 
    18501850 
    1851         /* Decrease pending send counter */ 
    1852         pj_grp_lock_dec_ref(tsx->grp_lock); 
     1851        /* Decrease pending send counter, but only if the transaction layer 
     1852         * hasn't been shutdown. 
     1853         */ 
     1854        if (mod_tsx_layer.mod.id >= 0) 
     1855            pj_grp_lock_dec_ref(tsx->grp_lock); 
     1856 
    18531857        return; 
    18541858    } 
Note: See TracChangeset for help on using the changeset viewer.