[Grok-dev] Execute function when server is shut down
Hector Blanco
white.lists at gmail.com
Thu Jan 13 10:59:47 EST 2011
> Note: the functions registered via this module are not called when the
> program is killed by a signal,
The day I learn to read, I'll conquer the world...
:-D
2011/1/13 Matthias <nitro at dr-code.org>:
> Am 13.01.2011, 16:42 Uhr, schrieb Hector Blanco <white.lists at gmail.com>:
>
>> Mmm... I couldn't get it working right with atexit...
>
> From the atexit docs:
>
> '''
> Note: the functions registered via this module are not called when the
> program is killed by a signal, when a Python fatal internal error is
> detected, or when os._exit() is called.
> '''
>
> -Matthias
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
>
More information about the Grok-dev
mailing list