[Asterisk-Dev] atexit in asterisk application?
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Mon Sep 13 08:29:25 MST 2004
On Monday 13 September 2004 03:11, Maciek Kaminski wrote:
> What is the proper way of cleaning up after application module at
> asterisk shutdown? unload_module does not seem to be called,
> register_atexit doesn't work(or at least I can't make it to call
> functions from a module).
Just found these two functions (to be called as appropriate in both
load_module and unload_module):
ast_register_atexit(void (*func)(void))
ast_unregister_atexit(void (*func)(void))
--
Tilghman
More information about the asterisk-dev
mailing list