Permalink
Browse files

clearnly shutdown the writer

  • Loading branch information...
miyagawa committed Nov 12, 2009
1 parent 4bcc315 commit cf172498adc48ba158d7175d34bc775604760142
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Plack/Server/AnyEvent/Writer.pm
@@ -57,6 +57,7 @@ sub close {
$handle->on_drain(sub {
shutdown $_[0]->fh, 1;
+ $_[0]->destroy;
undef $handle;
});
}

0 comments on commit cf17249

Please sign in to comment.