diff options
author | Eric Wong <e@80x24.org> | 2019-06-24 02:52:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-24 05:26:25 +0000 |
commit | b4aae3e011e24a9aacbd6d84c0e0aa610144bb76 (patch) | |
tree | f75fc2ab3808eb241a0ec58efd103879ff684df0 /lib/PublicInbox/DS.pm | |
parent | 0e1c3fe09a06faf24f7bca159020f69730f1275a (diff) | |
download | public-inbox-b4aae3e011e24a9aacbd6d84c0e0aa610144bb76.tar.gz |
There's no point in passing a mask of interesting events when removing an item from the epoll watch set.
Diffstat (limited to 'lib/PublicInbox/DS.pm')
-rw-r--r-- | lib/PublicInbox/DS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm index d07620a8..8fc49eee 100644 --- a/lib/PublicInbox/DS.pm +++ b/lib/PublicInbox/DS.pm @@ -458,7 +458,7 @@ sub close { # 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: $!"); } |