Changeset 4033 for pjproject


Ignore:
Timestamp:
Apr 10, 2012 5:46:04 AM (13 years ago)
Author:
bennylp
Message:

Fixed #1481: Immediately destroy the registration instance when TCP/TLS transport gets disconnected

File:
1 edited

Legend:

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

    r3867 r4033  
    28222822        } 
    28232823 
     2824        /* Destroy regc to release transport immediately */ 
     2825        if (pjsua_var.acc[i].regc) { 
     2826            pjsip_regc_destroy(pjsua_var.acc[i].regc); 
     2827        } 
     2828        pjsua_var.acc[i].regc = NULL; 
     2829 
    28242830        /* Schedule reregistration for this account */ 
    28252831        schedule_reregistration(acc); 
Note: See TracChangeset for help on using the changeset viewer.