diff options
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | ev.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ Revision history for libev, a high-performance and full-featured event loop. TODO: ev_loop_prefork hint? +TODO: ev_loop_wakeup +TODO: confusion about threads ongiong - change the default periodic reschedule function to hopefully be more exact and correct even in corner cases or in the far future. @@ -1036,7 +1036,7 @@ fd_reify (EV_P) int fd = fdchanges [i]; ANFD *anfd = anfds + fd; - if (anfd->reify & EV__IOFDSET) + if (anfd->reify & EV__IOFDSET && anfd->head) { SOCKET handle = EV_FD_TO_WIN32_HANDLE (fd); |