There's no point in passing a mask of interesting events
when removing an item from the epoll watch set.
# notifications about it
if ($HaveEpoll) {
my $fd = fileno($sock);
# notifications about it
if ($HaveEpoll) {
my $fd = fileno($sock);
- epoll_ctl($Epoll, EPOLL_CTL_DEL, $fd, $self->{event_watch}) and
+ epoll_ctl($Epoll, EPOLL_CTL_DEL, $fd, 0) and
confess("EPOLL_CTL_DEL: $!");
}
confess("EPOLL_CTL_DEL: $!");
}