Changeset 3883


Ignore:
Timestamp:
Nov 2, 2011 9:14:50 AM (13 years ago)
Author:
bennylp
Message:

More #1415: added protection when calling log, otherwise assertion will be raised

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_core.c

    r3882 r3883  
    12921292    int i;  /* Must be signed */ 
    12931293 
    1294     PJ_LOG(4,(THIS_FILE, "Shutting down, flags=%d...", flags)); 
     1294    if (pjsua_var.endpt) { 
     1295        PJ_LOG(4,(THIS_FILE, "Shutting down, flags=%d...", flags)); 
     1296    } 
    12951297 
    12961298    /* Signal threads to quit: */ 
Note: See TracChangeset for help on using the changeset viewer.