Changeset 5759


Ignore:
Timestamp:
Mar 26, 2018 10:41:05 AM (7 years ago)
Author:
nanang
Message:

Fixed #2102: Added check whether a transaction is already destroyed in the transaction timer callback.

File:
1 edited

Legend:

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

    r5714 r5759  
    11201120    PJ_UNUSED_ARG(theap); 
    11211121 
     1122    /* Just return if transaction is already destroyed (see also #2102). */ 
     1123    if (tsx->state >= PJSIP_TSX_STATE_DESTROYED) { 
     1124        return; 
     1125    } 
     1126 
    11221127    if (entry->id == TRANSPORT_ERR_TIMER) { 
    11231128        /* Posted transport error event */ 
Note: See TracChangeset for help on using the changeset viewer.