Hi all,

I was wondering if there were a way to run methods or execute code on
server shutdown (Ctrl+C, or otherwise).  I'd like to close a Berkeley
DB environment I'm running so as to avoid a potential nasty bug -- I
tried adding code to the __del__() method of app_globals.py, but it
doesn't seem to execute.  Any help is greatly appreciated!

Phil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to