Re: PHP4 CLI/ISAPI not calling module destructors?

From: Date: Sun, 07 Dec 2003 22:00:18 +0000
Subject: Re: PHP4 CLI/ISAPI not calling module destructors?
Groups: php.internals 
Request: Send a blank email to internals+get-6273@lists.php.net to get a copy of this message
> Is there a place that I'm missing where these dtors should be getting > called? If I add a ts_free_thread() before the final tsrm_shutdown() > in php_cli.c then in my testing (all Win32) the dtors do then get > called correctly. If I add a call to ts_free_thread() before the tsrm_shutdown() in the ISAPI many, many leaks disappear (as the dtors get called). Rather than a call to ts_free_thread() before each tsrm_shutdown(), should tsrm_shutdown() itself be calling ts_free_thread() before it does anything else? Michael Sisolak msisolak@yahoo.com __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/

« previous php.internals (#6273) next »