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 ec66e78 commit d10813dCopy full SHA for d10813d
Zend/zend_gc.c
@@ -2092,6 +2092,8 @@ static zend_coroutine_t* gc_spawn_destructors_coroutine(void)
2092
2093
coroutine->internal_entry = gc_destructors_coroutine;
2094
coroutine->event.info = gc_destructors_info;
2095
+ coroutine->extended_data = NULL;
2096
+ coroutine->extended_dispose = gc_destructors_coroutine_dispose;
2097
GC_G(dtor_coroutine) = coroutine;
2098
2099
return coroutine;
@@ -2402,6 +2404,7 @@ ZEND_API int zend_gc_collect_cycles(void)
2402
2404
2403
2405
GC_G(collector_time) += zend_hrtime() - start_time;
2406
GC_G(gc_coroutine) = NULL;
2407
+ GC_G(gc_scope) = NULL;
2408
return total_count;
2409
}
2410
0 commit comments