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 a1d4b18 commit f6f0aedCopy full SHA for f6f0aed
Zend/zend_execute_API.c
@@ -438,6 +438,12 @@ void shutdown_executor(void) /* {{{ */
438
zval *zv;
439
#if ZEND_DEBUG
440
bool fast_shutdown = 0;
441
+#elif defined(__SANITIZE_ADDRESS__)
442
+ char *force_fast_shutdown = getenv("ZEND_ASAN_FORCE_FAST_SHUTDOWN");
443
+ bool fast_shutdown = (
444
+ is_zend_mm()
445
+ || (force_fast_shutdown && ZEND_ATOL(force_fast_shutdown))
446
+ ) && !EG(full_tables_cleanup);
447
#else
448
bool fast_shutdown = is_zend_mm() && !EG(full_tables_cleanup);
449
#endif
0 commit comments