com php-src: Setting CG(unclean_shutdown) in fast s hutdown 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
| From: | Dmitry Stogov | Date: | Wed, 21 Jun 2017 13:09:21 +0000 |
| Subject: | com php-src: Setting CG(unclean_shutdown) in fast s hutdown 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 |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98152@lists.php.net to get a copy of this message | ||
Commit: 9b201aec073a52098f1633cae39bdfff68be82d7
Author: Dmitry Stogov <dmitry@zend.com> Wed, 21 Jun 2017 16:09:21 +0300
Parents: 7af5741333925928d83b3921c4f50aebd472c01f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9b201aec073a52098f1633cae39bdfff68be82d7
Log:
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).
Changed paths:
M ext/opcache/ZendAccelerator.c
Diff:
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index 812b448..e6dc4ce 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