poll,win: UV_PRIORITIZED option should not assert
PR-URL: https://github.com/libuv/libuv/pull/3171 Reviewed-By: Jameson Nash <vtjnash@gmail.com>
This commit is contained in:
parent
9394216828
commit
2ce720c6db
@ -488,7 +488,8 @@ static int uv__poll_set(uv_poll_t* handle, int events, uv_poll_cb cb) {
|
||||
|
||||
assert(handle->type == UV_POLL);
|
||||
assert(!(handle->flags & UV_HANDLE_CLOSING));
|
||||
assert((events & ~(UV_READABLE | UV_WRITABLE | UV_DISCONNECT)) == 0);
|
||||
assert((events & ~(UV_READABLE | UV_WRITABLE | UV_DISCONNECT |
|
||||
UV_PRIORITIZED)) == 0);
|
||||
|
||||
handle->events = events;
|
||||
handle->poll_cb = cb;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user