Hi, -- John Napiorkowski <[EMAIL PROTECTED]> wrote:
I'm finding that the way I usually catch shutdown signals to perform cleanup is not working. Setting %SIG handlers doesn't seem to do it and I'm not finding that DESTROY methods are getting fired off in the expected way.
and what about and END {} block?I don't know for Catalyst, but for a non web application with ithreads this works good for me.
So what I'm looking for is advice about the proper way to shutdown the development server and Catalyst apps running under Apache and how to trap those events both globally (say in my MyAPP.pm module) and in components. I need this so I can do some housekeeping, etc.
for mod_perl there are handlers for server shutdown. But this doesn't work for your test app ;-)
Ciao Alvar -- ** Alvar C.H. Freude, http://alvar.a-blast.org/ ** http://www.assoziations-blaster.de/ ** http://www.wen-waehlen.de/ ** http://odem.org/
pgp8PLMYoo5Xi.pgp
Description: PGP signature
_______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/