Skip to content

Commit 70d3b0c

Browse files
committed
php#9: fix issue with static void coroutine_event_callback_dispose
1 parent fe7b894 commit 70d3b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_async_API.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ ZEND_API void zend_async_waker_destroy(zend_coroutine_t *coroutine)
537537
efree(waker);
538538
}
539539

540-
static void coroutine_event_callback_dispose(zend_async_event_callback_t *callback, zend_async_event_t * event)
540+
void coroutine_event_callback_dispose(zend_async_event_callback_t *callback, zend_async_event_t * event)
541541
{
542542
if (callback->ref_count > 1) {
543543
// If the callback is still referenced, we cannot dispose it yet

0 commit comments

Comments
 (0)