Ignore:
Timestamp:
Apr 29, 2007 12:31:51 PM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #242: Crash on Windows when no sound device is available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/split-3rd-party/pjsip/src/pjsua-lib/pjsua_core.c

    r1210 r1224  
    918918        pjsua_var.pool = NULL; 
    919919        pj_caching_pool_destroy(&pjsua_var.cp); 
    920     } 
    921  
    922  
    923     PJ_LOG(4,(THIS_FILE, "PJSUA destroyed...")); 
    924  
    925     /* End logging */ 
    926     if (pjsua_var.log_file) { 
    927         pj_file_close(pjsua_var.log_file); 
    928         pjsua_var.log_file = NULL; 
    929     } 
    930  
    931     /* Shutdown PJLIB */ 
    932     pj_shutdown(); 
     920 
     921        PJ_LOG(4,(THIS_FILE, "PJSUA destroyed...")); 
     922 
     923        /* End logging */ 
     924        if (pjsua_var.log_file) { 
     925            pj_file_close(pjsua_var.log_file); 
     926            pjsua_var.log_file = NULL; 
     927        } 
     928 
     929        /* Shutdown PJLIB */ 
     930        pj_shutdown(); 
     931    } 
    933932 
    934933    /* Clear pjsua_var */ 
Note: See TracChangeset for help on using the changeset viewer.