Skip to content

Commit c41b768

Browse files
committed
ensure response.stream is closed
1 parent 0b93c25 commit c41b768

File tree

1 file changed

+1
-0
lines changed
  • actionpack/lib/action_controller/metal

1 file changed

+1
-0
lines changed

actionpack/lib/action_controller/metal/live.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module ActionController
1414
# response.stream.write "hello world\n"
1515
# sleep 1
1616
# }
17+
# ensure
1718
# response.stream.close
1819
# end
1920
# end

0 commit comments

Comments
 (0)