]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei: dclose: do not close unnecessarily
authorEric Wong <e@80x24.org>
Wed, 22 Sep 2021 02:24:32 +0000 (02:24 +0000)
committerEric Wong <e@80x24.org>
Wed, 22 Sep 2021 05:21:21 +0000 (05:21 +0000)
The bit about reap_compress is no longer true since
LeiXSearch->query_done triggers it, instead.  I only noticed
this while working on "lei up".

lib/PublicInbox/LEI.pm

index 29293e6ccddb71fd30dcc15b957a89eb61369afb..a1cab55a9280bf687a861153ade6d2c157c020ca 100644 (file)
@@ -1110,7 +1110,6 @@ sub dclose {
        my ($self) = @_;
        delete $self->{-progress};
        _drop_wq($self) if $self->{failed};
-       close(delete $self->{1}) if $self->{1}; # may reap_compress
        $self->close if $self->{-event_init_done}; # PublicInbox::DS::close
 }