diff --git a/poll.c b/poll.c index ddae2bf0..c3c9aac5 100644 --- a/poll.c +++ b/poll.c @@ -90,7 +90,7 @@ const struct eventop pollops = { poll_del, poll_dispatch, poll_dealloc, - 0, /* doesn't need_reinit */ + 1, /* need_reinit */ EV_FEATURE_FDS|EARLY_CLOSE_IF_HAVE_RDHUP, sizeof(struct pollidx), }; diff --git a/select.c b/select.c index 8ae53cc1..b1db0e44 100644 --- a/select.c +++ b/select.c @@ -98,7 +98,7 @@ const struct eventop selectops = { select_del, select_dispatch, select_dealloc, - 0, /* doesn't need reinit. */ + 1, /* need_reinit. */ EV_FEATURE_FDS, 0, };