Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing a potential memory leak

  • Loading branch information...
commit 8c27b14d0cd487150b7bbc1cb20fbef3d79ba1a6 1 parent 393e76b
Paul Driver authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/Plack/Server/POE.pm
2  lib/Plack/Server/POE.pm
@@ -157,7 +157,7 @@ sub on_client_input {
157 157
158 158 my $writer; $writer = Plack::Util::inline_object(
159 159 write => $w,
160   - close => $c,
  160 + close => sub { $c->(@_); undef $writer },
161 161 poll_cb => sub {
162 162 my $get = shift;
163 163 ($heap->{client_flush} = sub {

0 comments on commit 8c27b14

Please sign in to comment.
Something went wrong with that request. Please try again.