]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiLsSearch.pm
lei + ipc: simplify process reaping
[public-inbox.git] / lib / PublicInbox / LeiLsSearch.pm
index aebf018429d3949ca9e2de8704d8ce680604e7f0..0193e590b8b06c202d4034330e3eaf24e79e2344 100644 (file)
@@ -75,7 +75,7 @@ sub bg_worker ($$$) {
        my ($op_c, $ops) = $lei->workers_start($self, 1);
        $lei->{wq1} = $self;
        $self->wq_io_do('do_ls_search_long', [], $pfx);
-       $self->wq_close(1);
+       $self->wq_close;
        $lei->wait_wq_events($op_c, $ops);
 }