Fixed double call to MSHUTDOWN in case of php-cgi -m

This commit is contained in:
Dmitry Stogov 2008-08-15 07:30:50 +00:00
parent 52797252b4
commit 4362b07e62

View File

@ -247,6 +247,7 @@ static void print_extensions(TSRMLS_D)
zend_llist sorted_exts;
zend_llist_copy(&sorted_exts, &zend_extensions);
sorted_exts.dtor = NULL;
zend_llist_sort(&sorted_exts, extension_name_cmp TSRMLS_CC);
zend_llist_apply_with_argument(&sorted_exts, (llist_apply_with_arg_func_t) print_extension_info, NULL TSRMLS_CC);
zend_llist_destroy(&sorted_exts);