mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Removed redundant code
This commit is contained in:
parent
dcb76bf143
commit
cc3bcae90b
1 changed files with 0 additions and 4 deletions
|
@ -255,10 +255,6 @@ static int clean_module_resource(zend_rsrc_list_entry *le, int *resource_id TSRM
|
||||||
static int zend_clean_module_rsrc_dtors_cb(zend_rsrc_list_dtors_entry *ld, int *module_number TSRMLS_DC) /* {{{ */
|
static int zend_clean_module_rsrc_dtors_cb(zend_rsrc_list_dtors_entry *ld, int *module_number TSRMLS_DC) /* {{{ */
|
||||||
{
|
{
|
||||||
if (ld->module_number == *module_number) {
|
if (ld->module_number == *module_number) {
|
||||||
#if 0
|
|
||||||
/* EG(resource_list) is already destroied in this point */
|
|
||||||
zend_hash_apply_with_argument(&EG(regular_list), (apply_func_arg_t) clean_module_resource, (void *) &(ld->resource_id) TSRMLS_CC);
|
|
||||||
#endif
|
|
||||||
zend_hash_apply_with_argument(&EG(persistent_list), (apply_func_arg_t) clean_module_resource, (void *) &(ld->resource_id) TSRMLS_CC);
|
zend_hash_apply_with_argument(&EG(persistent_list), (apply_func_arg_t) clean_module_resource, (void *) &(ld->resource_id) TSRMLS_CC);
|
||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue