Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing a potential memory leak

  • Loading branch information...
commit 8c27b14d0cd487150b7bbc1cb20fbef3d79ba1a6 1 parent 393e76b
@frodwith authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Plack/Server/POE.pm
View
2  lib/Plack/Server/POE.pm
@@ -157,7 +157,7 @@ sub on_client_input {
my $writer; $writer = Plack::Util::inline_object(
write => $w,
- close => $c,
+ close => sub { $c->(@_); undef $writer },
poll_cb => sub {
my $get = shift;
($heap->{client_flush} = sub {
Please sign in to comment.
Something went wrong with that request. Please try again.