about summary refs log tree commit homepage
path: root/lib/PublicInbox/DS.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-24 02:52:10 +0000
committerEric Wong <e@80x24.org>2019-06-24 05:26:25 +0000
commitb4aae3e011e24a9aacbd6d84c0e0aa610144bb76 (patch)
treef75fc2ab3808eb241a0ec58efd103879ff684df0 /lib/PublicInbox/DS.pm
parent0e1c3fe09a06faf24f7bca159020f69730f1275a (diff)
downloadpublic-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.pm2
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: $!");
     }