lib/PublicInbox/LEI.pm | 3 +++ diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index 8cbaac015d4caee8d96d4d65bdf91b300fe23b4c..ee991f809e3a2fcbefb85a52e75ac33f2766b61d 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -458,6 +458,9 @@ my @io = delete @$self{qw(0 1 2 sock)}; unless ($self->{oneshot}) { close($_) for @io; } + if (my $cfg = $self->{cfg}) { + delete $cfg->{-lei_store}; + } } else { # worker, Net::NNTP (Net::Cmd) uses STDERR directly open STDERR, '+>&='.fileno($self->{2}) or warn "open $!"; delete $self->{0};