[Grok-dev] Execute function when server is shut down
Matthias
nitro at dr-code.org
Thu Jan 13 10:48:49 EST 2011
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
More information about the Grok-dev
mailing list