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 5eee8c5 commit bb6fab0Copy full SHA for bb6fab0
coroutine.c
@@ -1185,7 +1185,7 @@ zend_coroutine_t *async_new_coroutine(zend_async_scope_t *scope)
1185
1186
static HashTable *async_coroutine_object_gc(zend_object *object, zval **table, int *num)
1187
{
1188
- async_coroutine_t *coroutine = (async_coroutine_t *)object;
+ async_coroutine_t *coroutine = (async_coroutine_t *)ZEND_ASYNC_OBJECT_TO_EVENT(object);
1189
zend_get_gc_buffer *buf = zend_get_gc_buffer_create();
1190
1191
/* Always add basic ZVALs from coroutine structure */
0 commit comments