try closing the original body, see if that helps

This commit is contained in:
John Bintz 2012-03-05 13:48:03 -05:00
parent 3180a3d3dd
commit 0a30019d22
1 changed files with 3 additions and 0 deletions

View File

@ -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