1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4'

* PHP-8.4:
  Fixed bug GH-13193 again
This commit is contained in:
Niels Dossche
2025-03-21 11:48:22 +01:00

View File

@@ -1917,7 +1917,7 @@ ZEND_API int zend_gc_collect_cycles(void)
bool did_rerun_gc = 0;
zend_hrtime_t start_time = zend_hrtime();
if (GC_G(num_roots) && GC_G(gc_active)) {
if (GC_G(num_roots) && !GC_G(gc_active)) {
zend_gc_remove_root_tmpvars();
}