mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-03 09:16:30 -04:00
Merge branch 'fix-signal-leak'
Fixes main/fork under ASAN (LSAN if to be precise) * fix-signal-leak: select: requires reinit (otherwise it leaks signal handlers) poll: requires reinit (otherwise it leaks signal handlers) (cherry picked from commit f6bfa8b3e35432992d9b580617c946dbbfa38bb3)
This commit is contained in:
parent
a03f0f8a54
commit
1c9cc07b32
2
poll.c
2
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),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user