Skip to content

Commit daac306

Browse files
committed
* fix GC error fornon TLS
1 parent 372d6d7 commit daac306

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_gc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1833,6 +1833,7 @@ static zend_always_inline zend_result gc_call_destructors(uint32_t idx, uint32_t
18331833
#define RESUMED_AFTER_SUSPENSION (fiber != NULL && GC_G(dtor_fiber) != fiber) \
18341834
|| (in_coroutine && GC_G(dtor_coroutine) != ZEND_ASYNC_CURRENT_COROUTINE)
18351835
#else
1836+
const bool in_coroutine = false;
18361837
#define RESUMED_AFTER_SUSPENSION fiber != NULL && GC_G(dtor_fiber) != fiber
18371838
#endif
18381839

0 commit comments

Comments
 (0)