Changeset 2157 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
- Timestamp:
- Jul 18, 2008 11:51:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r2152 r2157 1094 1094 PJ_LOG(4,(THIS_FILE, "Destroying...")); 1095 1095 1096 /* Must destroy endpoint first before destroying pools in 1097 * buddies or accounts, since shutting down transaction layer 1098 * may emit events which trigger some buddy or account callbacks 1099 * to be called. 1100 */ 1101 pjsip_endpt_destroy(pjsua_var.endpt); 1102 pjsua_var.endpt = NULL; 1103 1096 1104 /* Destroy pool in the buddy object */ 1097 1105 for (i=0; i<(int)PJ_ARRAY_SIZE(pjsua_var.buddy); ++i) { … … 1109 1117 } 1110 1118 } 1111 1112 pjsip_endpt_destroy(pjsua_var.endpt);1113 pjsua_var.endpt = NULL;1114 1119 } 1115 1120
Note: See TracChangeset
for help on using the changeset viewer.