Skip to content

Commit 5cf7d22

Browse files
committed
php#53: * fix warning with non negative ZEND_ASSERT(event_callback->base.ref_count >= 0 && "Callback ref_count must be non-negative.");
1 parent 50313a1 commit 5cf7d22

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_async_API.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,6 @@ ZEND_API void zend_async_resume_when(zend_coroutine_t *coroutine, zend_async_eve
810810
event_callback->event = event;
811811
}
812812

813-
ZEND_ASSERT(event_callback->base.ref_count >= 0 && "Callback ref_count must be non-negative.");
814813

815814
event_callback->coroutine = coroutine;
816815
event->add_callback(event, &event_callback->base);

0 commit comments

Comments
 (0)