mirror of
https://github.com/hufrea/byedpi.git
synced 2024-12-22 14:25:44 +00:00
epoll_ctl_del before closing, bump version
This commit is contained in:
parent
e96aeff679
commit
2ebd982b3d
2
conev.c
2
conev.c
@ -82,6 +82,8 @@ void del_event(struct poolhd *pool, struct eval *val)
|
||||
}
|
||||
#ifdef NOEPOLL
|
||||
assert(val->fd == pool->pevents[val->index].fd);
|
||||
#else
|
||||
epoll_ctl(pool->efd, EPOLL_CTL_DEL, val->fd, 0);
|
||||
#endif
|
||||
if (val->buff.data) {
|
||||
assert(val->buff.size);
|
||||
|
Loading…
Reference in New Issue
Block a user