diff options
author | Eric Wong <e@80x24.org> | 2015-08-26 02:37:43 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-26 06:52:39 +0000 |
commit | f31a481a8b9972115336e7b8d5cac2a479ea159a (patch) | |
tree | b990ef7fb813fdfff863426b4830cb7a296b0ca2 /lib/PublicInbox/Mbox.pm | |
parent | f85f1781634dc03e093a0790a41bb4ae90ea907b (diff) | |
download | public-inbox-f31a481a8b9972115336e7b8d5cac2a479ea159a.tar.gz |
This doesn't seem needed for actual server use, but Plack tests complain about it
Diffstat (limited to 'lib/PublicInbox/Mbox.pm')
-rw-r--r-- | lib/PublicInbox/Mbox.pm | 1 |
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; } } |