cvs: ZendEngine2 / zend_list.c
| From: | Dmitry Stogov | Date: | Fri, 22 Aug 2008 15:27:38 +0000 |
| Subject: | cvs: ZendEngine2 / zend_list.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-7098@lists.php.net to get a copy of this message | ||
dmitry Fri Aug 22 15:27:38 2008 UTC
Modified files:
/ZendEngine2 zend_list.c
Log:
Removed redundant code
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_list.c?r1=1.75&r2=1.76&diff_format=u
Index: ZendEngine2/zend_list.c
diff -u ZendEngine2/zend_list.c:1.75 ZendEngine2/zend_list.c:1.76
--- ZendEngine2/zend_list.c:1.75 Thu Aug 21 16:21:27 2008
+++ ZendEngine2/zend_list.c Fri Aug 22 15:27:37 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_list.c,v 1.75 2008/08/21 16:21:27 dmitry Exp $ */
+/* $Id: zend_list.c,v 1.76 2008/08/22 15:27:37 dmitry Exp $ */
/* resource lists */
@@ -255,10 +255,6 @@
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 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);
return 1;
} else {