Re: Help: How to call function on Apache quitA

2008-01-09 Thread Erik Lotspeich
Hi Nick,

I continued some testing and it seems that the pool cleanup mechanism does not 
work.  Here's my cleanup register call:

apr_pool_cleanup_register(s-process-pool, mydata, proc_cleanup,
  apr_pool_cleanup_null);

My cleanup function, proc_cleanup() never gets called when I quit Apache.

Is there something else that I can do?

Regards,

Erik.

On Thursday 15 November 2007 02:22, Nick Kew wrote:
 On Thu, 15 Nov 2007 00:15:17 -0800 (PST)

 Erik Lotspeich [EMAIL PROTECTED] wrote:
  The basic question is: how to execute code when Apache quits.

 Register a cleanup function on the process pool.


Re: Help: How to call function on Apache quitA

2007-11-15 Thread Nick Kew
On Thu, 15 Nov 2007 00:15:17 -0800 (PST)
Erik Lotspeich [EMAIL PROTECTED] wrote:

 The basic question is: how to execute code when Apache quits.

Register a cleanup function on the process pool.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/