Skip to content

Commit

Permalink
try closing the original body, see if that helps
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbintz committed Mar 5, 2012
1 parent 3180a3d commit 0a30019
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/rack/livereload.rb
Expand Up @@ -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
Expand Down

0 comments on commit 0a30019

Please sign in to comment.