Re: shutdown order changed again? broken dl()'d modules, again
| From: | Derick Rethans | Date: | Fri, 23 Sep 2005 07:19:35 +0000 |
| Subject: | Re: shutdown order changed again? broken dl()'d modules, again | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19140@lists.php.net to get a copy of this message | ||
On Thu, 22 Sep 2005, Wez Furlong wrote:
> Sounds like we're unloading the modules before calling the dtors again.
The code says this:
/* 1. Call all possible shutdown functions registered with register_shutdown_function() */
/* 2. Call all possible __destruct() functions */
zend_try {
zend_call_destructors(TSRMLS_C);
} zend_end_try();
/* 3. Flush all output buffers */
/* 4. Send the set HTTP headers (note: This must be done AFTER
/* 5. Call all extensions RSHUTDOWN functions */
if (PG(modules_activated)) {
zend_deactivate_modules(TSRMLS_C);
php_free_shutdown_functions(TSRMLS_C);
}
So your statement seems incorrect, not sure what is breaking though...
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org