mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
poll: requires reinit (otherwise it leaks signal handlers)
Fixes: main/fork under POLL with ASAN
This commit is contained in:
parent
90bcf2d660
commit
c51c09b8ee
2
poll.c
2
poll.c
@ -90,7 +90,7 @@ const struct eventop pollops = {
|
|||||||
poll_del,
|
poll_del,
|
||||||
poll_dispatch,
|
poll_dispatch,
|
||||||
poll_dealloc,
|
poll_dealloc,
|
||||||
0, /* doesn't need_reinit */
|
1, /* need_reinit */
|
||||||
EV_FEATURE_FDS|EARLY_CLOSE_IF_HAVE_RDHUP,
|
EV_FEATURE_FDS|EARLY_CLOSE_IF_HAVE_RDHUP,
|
||||||
sizeof(struct pollidx),
|
sizeof(struct pollidx),
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user