- Timestamp:
- Apr 29, 2007 12:20:33 PM (18 years ago)
- Location:
- pjproject/branches/pjproject-0.5-stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/pjproject-0.5-stable/pjsip-apps/src/pjsua/main.c
r974 r1223 83 83 app_destroy(); 84 84 85 /* This is on purpose */ 86 app_destroy(); 87 85 88 return 0; 86 89 } -
pjproject/branches/pjproject-0.5-stable/pjsip-apps/src/pjsua/pjsua_app.c
r1205 r1223 96 96 static void stereo_demo(); 97 97 #endif 98 pj_status_t app_destroy(void); 98 99 99 100 /***************************************************************************** … … 3156 3157 3157 3158 on_error: 3158 pjsua_destroy();3159 app_destroy(); 3159 3160 return status; 3160 3161 } … … 3168 3169 status = pjsua_start(); 3169 3170 if (status != PJ_SUCCESS) { 3170 pjsua_destroy();3171 app_destroy(); 3171 3172 return status; 3172 3173 } -
pjproject/branches/pjproject-0.5-stable/pjsip/src/pjsua-lib/pjsua_core.c
r1158 r1223 701 701 pjsua_var.pool = NULL; 702 702 pj_caching_pool_destroy(&pjsua_var.cp); 703 } 704 705 706 PJ_LOG(4,(THIS_FILE, "PJSUA destroyed...")); 707 708 /* End logging */ 709 if (pjsua_var.log_file) { 710 pj_file_close(pjsua_var.log_file); 711 pjsua_var.log_file = NULL; 712 } 713 714 /* Shutdown PJLIB */ 715 pj_shutdown(); 703 704 PJ_LOG(4,(THIS_FILE, "PJSUA destroyed...")); 705 706 /* End logging */ 707 if (pjsua_var.log_file) { 708 pj_file_close(pjsua_var.log_file); 709 pjsua_var.log_file = NULL; 710 } 711 712 /* Shutdown PJLIB */ 713 pj_shutdown(); 714 } 716 715 717 716 /* Clear pjsua_var */ -
pjproject/branches/pjproject-0.5-stable/pjsip/src/pjsua-lib/pjsua_media.c
r1155 r1223 464 464 pjmedia_endpt_destroy(pjsua_var.med_endpt); 465 465 pjsua_var.med_endpt = NULL; 466 } 467 468 /* Deinitialize sound subsystem */ 469 pjmedia_snd_deinit();466 467 /* Deinitialize sound subsystem */ 468 pjmedia_snd_deinit(); 469 } 470 470 471 471 /* Reset RTP port */
Note: See TracChangeset
for help on using the changeset viewer.