mirror of
https://github.com/php/php-src.git
synced 2026-03-31 20:53:00 +02:00
Fixed double call to php_stream_close() on compiler errors
This commit is contained in:
@@ -827,6 +827,8 @@ void zend_deactivate(TSRMLS_D)
|
||||
shutdown_compiler(TSRMLS_C);
|
||||
} zend_end_try();
|
||||
|
||||
zend_destroy_rsrc_list(&EG(regular_list) TSRMLS_CC);
|
||||
|
||||
zend_try {
|
||||
zend_ini_deactivate(TSRMLS_C);
|
||||
} zend_end_try();
|
||||
|
||||
@@ -285,11 +285,6 @@ void shutdown_executor(TSRMLS_D)
|
||||
clean_non_persistent_constants(TSRMLS_C);
|
||||
} zend_end_try();
|
||||
|
||||
/* The regular list must be destroyed after the main symbol table,
|
||||
* op arrays, and constants are destroyed.
|
||||
*/
|
||||
zend_destroy_rsrc_list(&EG(regular_list) TSRMLS_CC);
|
||||
|
||||
zend_try {
|
||||
#if ZEND_DEBUG
|
||||
signal(SIGSEGV, original_sigsegv_handler);
|
||||
|
||||
Reference in New Issue
Block a user