From 0a30019d22388cd4f797fceda507833245042da3 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Mon, 5 Mar 2012 13:48:03 -0500 Subject: [PATCH] try closing the original body, see if that helps --- lib/rack/livereload.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/rack/livereload.rb b/lib/rack/livereload.rb index 6ff2f04..4323f74 100644 --- a/lib/rack/livereload.rb +++ b/lib/rack/livereload.rb @@ -91,6 +91,9 @@ module Rack end end + body.close if body.respond_to?(:close) + new_body.close if new_body.respond_to?(:close) + [ status, headers, new_body ] end end