]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiOverview.pm
lei: test SIGPIPE, stop xsearch workers on client abort
[public-inbox.git] / lib / PublicInbox / LeiOverview.pm
index 8a1f4f822014a9a539ac9ea6a92f2f3789aeea28..194c5e28aad8b07de799d15a6d667916cb089cab 100644 (file)
@@ -108,8 +108,9 @@ sub _unbless_smsg {
 
 sub ovv_atexit_child {
        my ($self, $lei) = @_;
-       my $bref = delete $lei->{ovv_buf} or return;
-       print { $lei->{1} } $$bref;
+       if (my $bref = delete $lei->{ovv_buf}) {
+               print { $lei->{1} } $$bref;
+       }
 }
 
 # JSON module ->pretty output wastes too much vertical white space,