[Grok-dev] Execute function when server is shut down

Hector Blanco white.lists at gmail.com
Thu Dec 23 11:59:01 EST 2010

Hello everyone...

I'd like to know if there's a way to execute some commands (closing
database connection, finish transaction...) when the grok server is

I tried to add a __del__ method to my "Server(grok.Application,
grok.Container)" but it doesn't seem to work.

Thank you!

More information about the Grok-dev mailing list