Changeset 3596


Ignore:
Timestamp:
Jun 22, 2011 10:57:11 AM (13 years ago)
Author:
bennylp
Message:

Fixed #1316: Assertion when TURN session is deallocated prematurely (thanks Tony Jago Million for the report)

Location:
pjproject/branches/1.x/pjnath/src/pjnath
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjnath/src/pjnath/ice_strans.c

    r3553 r3596  
    11851185            }; 
    11861186 
     1187            /* https://trac.pjsip.org/repos/ticket/1316 */ 
     1188            if (comp->turn_sock == NULL) { 
     1189                /* TURN socket error */ 
     1190                return PJ_EINVALIDOP; 
     1191            } 
     1192 
    11871193            if (!comp->turn_log_off) { 
    11881194                /* Disable logging for Send/Data indications */ 
  • pjproject/branches/1.x/pjnath/src/pjnath/turn_sock.c

    r3553 r3596  
    620620    if (turn_sock == NULL) { 
    621621        /* We've been destroyed */ 
    622         pj_assert(!"We should shutdown gracefully"); 
     622        // https://trac.pjsip.org/repos/ticket/1316 
     623        //pj_assert(!"We should shutdown gracefully"); 
    623624        return PJ_EINVALIDOP; 
    624625    } 
Note: See TracChangeset for help on using the changeset viewer.