Skip to content
Browse files

try closing the original body, see if that helps

  • Loading branch information...
1 parent 3180a3d commit 0a30019d22388cd4f797fceda507833245042da3 @johnbintz committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/rack/livereload.rb
View
3 lib/rack/livereload.rb
@@ -91,6 +91,9 @@ def _call(env)
end
end
+ body.close if body.respond_to?(:close)
+ new_body.close if new_body.respond_to?(:close)
+
[ status, headers, new_body ]
end
end

0 comments on commit 0a30019

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