Changeset 3986 for pjproject/branches/1.x/pjsip/src/pjsip-ua/sip_replaces.c
- Timestamp:
- Mar 22, 2012 11:29:20 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjsip/src/pjsip-ua/sip_replaces.c
r3553 r3986 163 163 164 164 /* Deinitialize Replaces */ 165 static void pjsip_replaces_deinit_module(void) 166 { 165 static void pjsip_replaces_deinit_module(pjsip_endpoint *endpt) 166 { 167 PJ_TODO(provide_initialized_flag_for_each_endpoint); 168 PJ_UNUSED_ARG(endpt); 167 169 is_initialized = PJ_FALSE; 168 170 } … … 192 194 193 195 /* Register deinit module to be executed when PJLIB shutdown */ 194 if (pj_atexit(&pjsip_replaces_deinit_module) != PJ_SUCCESS) { 196 if (pjsip_endpt_atexit(endpt, &pjsip_replaces_deinit_module) != PJ_SUCCESS) 197 { 195 198 /* Failure to register this function may cause this module won't 196 199 * work properly when the stack is restarted (without quitting
Note: See TracChangeset
for help on using the changeset viewer.