summaryrefslogtreecommitdiff
path: root/ext/opcache/ZendAccelerator.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-11-04 16:05:48 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-11-04 16:05:48 +0100
commit313a56add0bacd05acc894a329ad1e68b583bc96 (patch)
tree8cc593a1abb6091d9f7b6142bda72a9d0a8e59f7 /ext/opcache/ZendAccelerator.c
parentbb1dd83af393a701cc82f32c4f919e15595a28f5 (diff)
parent7c7c6b0d73a4c8047b6197d27729fef1de81afdd (diff)
downloadphp-git-313a56add0bacd05acc894a329ad1e68b583bc96.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: End output handlers in preload shutdown
Diffstat (limited to 'ext/opcache/ZendAccelerator.c')
-rw-r--r--ext/opcache/ZendAccelerator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index dc2d3e92aa..973c782854 100644
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -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 */