Skip to content

Commit b77fa94

Browse files
committed
Disable opcache.fast_shutdown if USE_ZEND_ALLOC=0
1 parent 225bb70 commit b77fa94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2290,7 +2290,7 @@ static void accel_deactivate(void)
22902290
ZCG(counted) = 0;
22912291

22922292
#if !ZEND_DEBUG
2293-
if (ZCG(accel_directives).fast_shutdown) {
2293+
if (ZCG(accel_directives).fast_shutdown && is_zend_mm()) {
22942294
zend_accel_fast_shutdown();
22952295
}
22962296
#endif

0 commit comments

Comments
 (0)