summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index f66bd66304..7b012005f0 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -302,7 +302,7 @@ void shutdown_executor(void) /* {{{ */
zend_hash_graceful_reverse_destroy(&EG(symbol_table));
#if ZEND_DEBUG
- if (GC_G(gc_enabled) && !CG(unclean_shutdown)) {
+ if (gc_enabled() && !CG(unclean_shutdown)) {
gc_collect_cycles();
}
#endif