Changeset 3988 for pjproject/branches/1.x/pjsip/src/pjsip/sip_endpoint.c
- Timestamp:
- Mar 28, 2012 7:32:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjsip/src/pjsip/sip_endpoint.c
r3986 r3988 579 579 PJ_LOG(5, (THIS_FILE, "Destroying endpoing instance..")); 580 580 581 /* Call all registered exit callbacks */582 ecb = endpt->exit_cb_list.next;583 while (ecb != &endpt->exit_cb_list) {584 (*ecb->func)(endpt);585 ecb = ecb->next;586 }587 588 581 /* Phase 1: stop all modules */ 589 582 mod = endpt->module_list.prev; … … 615 608 /* Destroy timer heap */ 616 609 pj_timer_heap_destroy(endpt->timer_heap); 610 611 /* Call all registered exit callbacks */ 612 ecb = endpt->exit_cb_list.next; 613 while (ecb != &endpt->exit_cb_list) { 614 (*ecb->func)(endpt); 615 ecb = ecb->next; 616 } 617 617 618 618 /* Delete endpoint mutex. */
Note: See TracChangeset
for help on using the changeset viewer.