Browse files

return, just in case, to ignore the return value from ->respond which…

… is EV::IO.
  • Loading branch information...
1 parent 24f43a7 commit 1c12098ecbd87893af65be5d7097adb8b3bfa4ef @miyagawa committed Feb 3, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Plack/Handler/AnyEvent/HTTPD.pm
View
2 lib/Plack/Handler/AnyEvent/HTTPD.pm
@@ -77,6 +77,8 @@ sub register_service {
}
$req->respond([ @res, $content ]);
+
+ return;
} else {
# Probably unnecessary, but in case ->write is
# called before the poll callback is execute.

0 comments on commit 1c12098

Please sign in to comment.