Ignore:
Timestamp:
Dec 1, 2006 11:14:37 AM (14 years ago)
Author:
bennylp
Message:

Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries after pjsua_destroy() is called

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r832 r839  
    362362 
    363363    /* Run pj_getopt once to see if user specifies config file to read. */  
     364    pj_optind = 0; 
    364365    while ((c=pj_getopt_long(argc, argv, "", long_options,  
    365366                             &option_index)) != -1)  
     
    28462847pj_status_t app_destroy(void) 
    28472848{ 
     2849    pj_status_t status; 
     2850 
    28482851#ifdef STEREO_DEMO 
    28492852    if (app_config.snd) { 
     
    28582861    } 
    28592862 
    2860     return pjsua_destroy(); 
     2863    status = pjsua_destroy(); 
     2864 
     2865    pj_bzero(&app_config, sizeof(app_config)); 
     2866 
     2867    return status; 
    28612868} 
    28622869 
Note: See TracChangeset for help on using the changeset viewer.