MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / tm_shutdown

Function tm_shutdown

modules/tm/t_funcs.c:83–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82
83void tm_shutdown(void)
84{
85
86 LM_DBG("tm_shutdown : start\n");
87 unlink_timer_lists();
88
89 /* destroy the hash table */
90 LM_DBG("emptying hash table\n");
91 free_hash_table( );
92 LM_DBG("releasing timers\n");
93 free_timer_table();
94 LM_DBG("removing semaphores\n");
95 lock_cleanup();
96 LM_DBG("destroying callback lists\n");
97 destroy_tmcb_lists();
98 LM_DBG("tm_shutdown : done\n");
99}
100
101
102/* returns 1 if everything was OK or -1 for error

Callers

nothing calls this directly

Calls 5

unlink_timer_listsFunction · 0.85
free_timer_tableFunction · 0.85
lock_cleanupFunction · 0.85
destroy_tmcb_listsFunction · 0.85
free_hash_tableFunction · 0.70

Tested by

no test coverage detected