Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6273 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37600 invoked by uid 1010); 7 Dec 2003 22:00:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37576 invoked from network); 7 Dec 2003 22:00:19 -0000 Received: from unknown (HELO web13426.mail.yahoo.com) (216.136.175.157) by pb1.pair.com with SMTP; 7 Dec 2003 22:00:19 -0000 Message-ID: <20031207220018.62777.qmail@web13426.mail.yahoo.com> Received: from [24.215.130.244] by web13426.mail.yahoo.com via HTTP; Sun, 07 Dec 2003 14:00:18 PST Date: Sun, 7 Dec 2003 14:00:18 -0800 (PST) To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: PHP4 CLI/ISAPI not calling module destructors? From: msisolak@yahoo.com (Michael Sisolak) > 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/