Changeset 3584


Ignore:
Timestamp:
Jun 16, 2011 3:49:51 AM (8 years ago)
Author:
bennylp
Message:

Fixed #1305: Bug in pjsua_call_hangup_all() may cause deadlock (thanks Kees van der Bent for the report)

File:
1 edited

Legend:

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

    r3576 r3584  
    21822182    unsigned i; 
    21832183 
    2184     PJSUA_LOCK(); 
     2184    // This may deadlock, see https://trac.pjsip.org/repos/ticket/1305 
     2185    //PJSUA_LOCK(); 
    21852186 
    21862187    for (i=0; i<pjsua_var.ua_cfg.max_calls; ++i) { 
     
    21892190    } 
    21902191 
    2191     PJSUA_UNLOCK(); 
     2192    //PJSUA_UNLOCK(); 
    21922193} 
    21932194 
Note: See TracChangeset for help on using the changeset viewer.