mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
End output handlers in preload shutdown
Same as in php_request_shutdown(), we need to end any active output handlers, as these may no longer be safe to execute lateron.
This commit is contained in:
parent
73321bc300
commit
7c7c6b0d73
@ -4519,6 +4519,7 @@ static int accel_preload(const char *config, zend_bool in_child)
|
||||
|
||||
php_call_shutdown_functions();
|
||||
zend_call_destructors();
|
||||
php_output_end_all();
|
||||
php_free_shutdown_functions();
|
||||
|
||||
/* Release stored values to avoid dangling pointers */
|
||||
|
Loading…
Reference in New Issue
Block a user