That's no good. If I remove the sapi_close stuff, and try to execute the shutdown functions in php_apache_request_shutdown() all I get is stuff in the error log listing the "leaked" memory. The requested function does not get executed.
Joseph > -----Original Message----- > From: Zeev Suraski [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 30, 2002 1:57 PM > Subject: RE: [PATCH]apache_register_shutdown_function final version > > > Try looking at php_apache_request_shutdown() in mod_php4.c. It's > our pool > destructor. > > Zeev -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php