dev  

Re: Changing the order of cleanup for some core objects

Bojan Smojver
Mon, 21 Jul 2008 04:17:57 -0700

Quoting "Mladen Turk" <[EMAIL PROTECTED]>:

I still don't know how to solve that problem effectively, so
any ideas are welcome.

How about we have apr_pool_destroy_safe(). We give it two arguments:

- pool to kill
- root pool to start searching from (NULL means global pool)

Then we first check if the pool we are trying to destroy is still there. If so, we whack it. If not, we just return success.

Brute force, I know...

--
Bojan