From: Dmitry Stogov Date: Wed, 21 Jun 2017 13:09:21 +0000 (+0300) Subject: Setting CG(unclean_shutdown) in fast shutdown doesn't make a lot of sense (it was... X-Git-Tag: php-7.2.0alpha3~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b201aec073a52098f1633cae39bdfff68be82d7;p=php 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). --- 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