[Asterisk-Dev] atexit in asterisk application?
Michael Sandee
ms at zeelandnet.nl
Mon Sep 13 09:52:13 MST 2004
Google is your friend ;)
http://lists.digium.com/pipermail/asterisk-dev/2004-July/005008.html
http://lists.digium.com/pipermail/asterisk-dev/2004-July/005007.html
Should be illuminating... especially the fact that it still (apparently)
hasn't been fixed yet... (Hacked in like my patch, or properly) I stand
firm behind my earlier words...
Michael
Tilghman Lesher wrote:
>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))
>
>
>
More information about the asterisk-dev
mailing list