cvs: ZendEngine2(PHP_5_2) / zend_list.c

[email protected] ("Dmitry Stogov")
Newsgroups php.zend-engine.cvs
Message-ID <cvsdmitry1219419098@cvsserver>
dmitry		Fri Aug 22 15:31:38 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /ZendEngine2	zend_list.c 
  Log:
  Fixed destruction of dl() loaded extensions
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_list.c?r1=1.66.2.1.2.2&r2=1.66.2.1.2.3&diff_format=u
Index: ZendEngine2/zend_list.c
diff -u ZendEngine2/zend_list.c:1.66.2.1.2.2 ZendEngine2/zend_list.c:1.66.2.1.2.3
--- ZendEngine2/zend_list.c:1.66.2.1.2.2	Mon Dec 31 07:20:03 2007
+++ ZendEngine2/zend_list.c	Fri Aug 22 15:31:38 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_list.c,v 1.66.2.1.2.2 2007/12/31 07:20:03 sebastian Exp $ */
+/* $Id: zend_list.c,v 1.66.2.1.2.3 2008/08/22 15:31:38 dmitry Exp $ */
 
 /* resource lists */
 
@@ -253,7 +253,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) {
-		zend_hash_apply_with_argument(&EG(regular_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;
 	} else {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.