From 9b201aec073a52098f1633cae39bdfff68be82d7 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 21 Jun 2017 16:09:21 +0300 Subject: [PATCH] Setting CG(unclean_shutdown) in fast shutdown doesn't make a lot of sense (it was set to prevent memory leak messages, but we doesn't check memory leaks in RELEASE build anyway). --- ext/opcache/ZendAccelerator.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 812b4481eb..e6dc4ce684 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -2433,8 +2433,6 @@ static void zend_accel_fast_shutdown(void) EG(function_table)->nNumUsed = EG(function_table)->nNumOfElements; EG(class_table)->nNumUsed = EG(class_table)->nNumOfElements; EG(zend_constants)->nNumUsed = EG(zend_constants)->nNumOfElements; - - CG(unclean_shutdown) = 1; } #endif -- 2.40.0