Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prevent memory leak

  • Loading branch information...
commit 181193baeeb62797b224bb0a23cd4c38d77a48fc 1 parent 735e799
@athomason authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Plack/Middleware/BufferedStreaming.pm
View
1  lib/Plack/Middleware/BufferedStreaming.pm
@@ -37,6 +37,7 @@ sub call {
close => sub {
if ($ret) {
$ret->([ @$write, \@body ]);
+ undef $ret;
}
else {
$ret = [ @$write, \@body ];
Please sign in to comment.
Something went wrong with that request. Please try again.