Skip to content

Commit 3dcf36c

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Fixed bug phpGH-13193 again
2 parents b17df7a + e98e4e3 commit 3dcf36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1917,7 +1917,7 @@ ZEND_API int zend_gc_collect_cycles(void)
19171917
bool did_rerun_gc = 0;
19181918

19191919
zend_hrtime_t start_time = zend_hrtime();
1920-
if (GC_G(num_roots) && GC_G(gc_active)) {
1920+
if (GC_G(num_roots) && !GC_G(gc_active)) {
19211921
zend_gc_remove_root_tmpvars();
19221922
}
19231923

0 commit comments

Comments
 (0)