Skip to content

Commit 29b8243

Browse files
committed
Refactor Fiber garbage collection and NULL value handling
1 parent 1b028c5 commit 29b8243

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_fibers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,7 @@ static void zend_fiber_object_destroy(zend_object *object)
12601260
);
12611261

12621262
ZEND_ASYNC_CANCEL(coroutine, exception, true);
1263+
ZEND_ASYNC_EVENT_RELEASE(&fiber->yield_event->base);
12631264

12641265
return;
12651266
}

0 commit comments

Comments
 (0)