Changeset 4169


Ignore:
Timestamp:
Jun 18, 2012 9:19:58 AM (12 years ago)
Author:
nanang
Message:

Re #1535: Added check if module "mod-stateful-util" has been unregistered.

File:
1 edited

Legend:

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

    r3553 r4169  
    6060    struct tsx_data *tsx_data; 
    6161 
    62     if (event->type != PJSIP_EVENT_TSX_STATE) 
     62    /* Check if the module has been unregistered (see ticket #1535) and also 
     63     * verify the event type. 
     64     */ 
     65    if (mod_stateful_util.id < 0 || event->type != PJSIP_EVENT_TSX_STATE) 
    6366        return; 
    6467 
Note: See TracChangeset for help on using the changeset viewer.