I agree. I'll try to make it work from inside zend_shudown() but probably it will requre modification of EVERY extension that uses module_globals in any case.
Thanks. Dmitry. > -----Original Message----- > From: Steph Fox [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 01, 2006 8:48 AM > To: Dmitry Stogov; 'Xuefer'; Andi Gutmans > Cc: 'internals'; Antony Dovgal > Subject: Re: [PHP-DEV] tsrm_shutdown() and the CLI SAPI > > > > I'm a bit behind so sorry if this has been answered > already. I don't > > think > > ts_free_id() is a workaround but it's actually correct. > > ts_free_id() would be a correct workaround if it came from > zend_shutdown(). > How's it right to suddenly force EVERY extension author to > add it to their > code individually? > > We > > should free the resources of the extension during MSHUTDOWN > and that's > > the > > way to do it in ZTS. Good chance that the crash is actually > a bug which > > needs fixing although there could also be a bug lurking. > > > > Andi > > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php