This is required because `poll` will not reset the flags which it isn't polling itself. PR-URL: https://github.com/libuv/libuv/pull/1868 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>