about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-07-04 19:35:54 +0000
committerEric Wong <e@80x24.org>2021-07-05 09:15:48 +0000
commit1af8ec12c95028cb1c72a8e85b538ab435d5145d (patch)
tree8fc93a17b087de32fac45f722e0d0f77c78a3de1 /lib
parent3c3e6ae90d78970da6a6138345a2d1b7466ab9e1 (diff)
downloadpublic-inbox-1af8ec12c95028cb1c72a8e85b538ab435d5145d.tar.gz
Sometimes a user will be bored waiting for a command to finish,
so ensure we drop disconnect workers in this case.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/LEI.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 42e02efb..a9f5edae 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -1095,6 +1095,7 @@ sub event_step {
                         }
                         die "unrecognized client signal: $buf";
                 }
+                _drop_wq($self); # EOF, client disconnected
                 dclose($self);
         };
         if (my $err = $@) {