mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fixed bug #35009 (ZTS: Persistent resource destruct crashes when extension is compiled as shared)
This commit is contained in:
parent
88edad9f08
commit
9e1beb4f1c
2
NEWS
2
NEWS
@ -9,6 +9,8 @@ PHP NEWS
|
||||
- Fixed bug #35017 (Exception thrown in error handler may cause unexpected
|
||||
behavior). (Dmitry)
|
||||
- Fixed bug #35014 (array_product() always returns 0). (Ilia)
|
||||
- Fixed bug #35009 (ZTS: Persistent resource destruct crashes when extension
|
||||
is compiled as shared). (Dmitry)
|
||||
- Fixed bug #34851 (SO_RECVTIMEO and SO_SNDTIMEO socket options expect integer
|
||||
parameter on Windows). (Mike)
|
||||
- Fixed bug #31971 (ftp_login fails on some SSL servers).
|
||||
|
@ -702,6 +702,7 @@ void zend_shutdown(TSRMLS_D)
|
||||
#ifdef ZEND_WIN32
|
||||
zend_shutdown_timeout_thread();
|
||||
#endif
|
||||
zend_destroy_rsrc_list(&EG(persistent_list) TSRMLS_CC);
|
||||
zend_hash_graceful_reverse_destroy(&module_registry);
|
||||
|
||||
zend_hash_destroy(GLOBAL_FUNCTION_TABLE);
|
||||
@ -719,7 +720,6 @@ void zend_shutdown(TSRMLS_D)
|
||||
zend_hash_destroy(GLOBAL_CONSTANTS_TABLE);
|
||||
free(GLOBAL_CONSTANTS_TABLE);
|
||||
|
||||
zend_destroy_rsrc_list(&EG(persistent_list) TSRMLS_CC);
|
||||
#ifdef ZTS
|
||||
GLOBAL_FUNCTION_TABLE = NULL;
|
||||
GLOBAL_CLASS_TABLE = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user