httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Lotspeich <e...@lotspeich.org>
Subject Re: Help: How to call function on Apache quitA
Date Wed, 09 Jan 2008 06:03:41 GMT
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 <erik@lotspeich.org> wrote:
> > The basic question is: how to execute code when Apache quits.
>
> Register a cleanup function on the process pool.

Mime
View raw message