Skip to content

Commit 049b8f0

Browse files
committed
* fix bool libuv_reactor_execute(bool no_wait) + return has_handles && ZEND_ASYNC_ACTIVE_EVENT_COUNT > 0;
1 parent c47ea0b commit 049b8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libuv_reactor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ bool libuv_reactor_execute(bool no_wait)
173173

174174
const bool has_handles = uv_run(UVLOOP, no_wait ? UV_RUN_NOWAIT : UV_RUN_ONCE);
175175

176-
return has_handles;
176+
return has_handles && ZEND_ASYNC_ACTIVE_EVENT_COUNT > 0;
177177
}
178178

179179
/* }}} */

0 commit comments

Comments
 (0)