We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a6320 commit 4eea26fCopy full SHA for 4eea26f
Zend/zend_execute_API.c
@@ -439,7 +439,11 @@ void shutdown_executor(void) /* {{{ */
439
#if ZEND_DEBUG
440
bool fast_shutdown = 0;
441
#elif defined(__SANITIZE_ADDRESS__)
442
- bool fast_shutdown = !EG(full_tables_cleanup);
+ char *forceFastShutdown = getenv("ZEND_FORCE_FAST_SHUTDOWN");
443
+ bool fast_shutdown = (
444
+ is_zend_mm()
445
+ || (forceFastShutdown && ZEND_ATOL(forceFastShutdown))
446
+ ) && EG(full_tables_cleanup);
447
#else
448
bool fast_shutdown = is_zend_mm() && !EG(full_tables_cleanup);
449
#endif
0 commit comments