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 6fa485b commit f4597e1Copy full SHA for f4597e1
Zend/zend_async_API.c
@@ -369,8 +369,7 @@ ZEND_API zend_async_waker_t *zend_async_waker_new(zend_coroutine_t *coroutine)
369
}
370
371
if (UNEXPECTED(coroutine->waker != NULL)) {
372
- coroutine->waker->dtor(coroutine);
373
- coroutine->waker = NULL;
+ zend_async_waker_destroy(coroutine);
374
375
376
zend_async_waker_t *waker = pecalloc(1, sizeof(zend_async_waker_t), 0);
0 commit comments