Ignore:
Timestamp:
Oct 19, 2011 12:45:05 PM (13 years ago)
Author:
bennylp
Message:

Fixed #1216: New pjsua_destroy2() API to allow shutting down the library without sending any outgoing messages

File:
1 edited

Legend:

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

    r3770 r3829  
    583583 
    584584    /* Delete server presence subscription */ 
    585     pjsua_pres_delete_acc(acc_id); 
     585    pjsua_pres_delete_acc(acc_id, 0); 
    586586 
    587587    /* Release account pool */ 
     
    802802        acc->cfg.publish_enabled = cfg->publish_enabled; 
    803803        if (!acc->cfg.publish_enabled) 
    804             pjsua_pres_unpublish(acc); 
     804            pjsua_pres_unpublish(acc, 0); 
    805805        else 
    806806            update_reg = PJ_TRUE; 
     
    19961996        } 
    19971997 
    1998         pjsua_pres_unpublish(&pjsua_var.acc[acc_id]); 
     1998        pjsua_pres_unpublish(&pjsua_var.acc[acc_id], 0); 
    19991999 
    20002000        status = pjsip_regc_unregister(pjsua_var.acc[acc_id].regc, &tdata); 
Note: See TracChangeset for help on using the changeset viewer.