diff options
author | Eric Wong <e@80x24.org> | 2021-03-24 14:23:29 +0500 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-24 23:01:17 +0000 |
commit | 954eb66a5bcf5447cec47bb89f4afd99a5952891 (patch) | |
tree | 6f2f8be0ab072b970f3e47e0398b2553fb075bbf | |
parent | 5577a83631e057a31489aa1ce8d1d35ac33f9d7d (diff) | |
download | public-inbox-954eb66a5bcf5447cec47bb89f4afd99a5952891.tar.gz |
I'm not sure if this was causing real problems, but it's sure ugly.
-rw-r--r-- | lib/PublicInbox/LEI.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index 8cbaac01..ee991f80 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -458,6 +458,9 @@ sub _lei_atfork_child { 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}; |