Changeset 3999 for pjproject/trunk/pjsip/src/pjsip-ua/sip_timer.c
- Timestamp:
- Mar 30, 2012 7:10:13 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_timer.c
r3553 r3999 496 496 497 497 /* Deinitialize Session Timers */ 498 static void pjsip_timer_deinit_module(void) 499 { 498 static void pjsip_timer_deinit_module(pjsip_endpoint *endpt) 499 { 500 PJ_TODO(provide_initialized_flag_for_each_endpoint); 501 PJ_UNUSED_ARG(endpt); 500 502 is_initialized = PJ_FALSE; 501 503 } … … 532 534 533 535 /* Register deinit module to be executed when PJLIB shutdown */ 534 if (pj _atexit(&pjsip_timer_deinit_module) != PJ_SUCCESS) {536 if (pjsip_endpt_atexit(endpt, &pjsip_timer_deinit_module) != PJ_SUCCESS) { 535 537 /* Failure to register this function may cause this module won't 536 538 * work properly when the stack is restarted (without quitting
Note: See TracChangeset
for help on using the changeset viewer.