about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/Mbox.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm
index 38ea5d86..19c18ac4 100644
--- a/lib/PublicInbox/Mbox.pm
+++ b/lib/PublicInbox/Mbox.pm
@@ -22,6 +22,7 @@ sub emit1 {
                 # single message should be easily renderable in browsers
                 my $fh = $response->([200, ['Content-Type'=>'text/plain']]);
                 emit_msg($fh, $simple);
+                $fh->close;
         }
 }