diff options
author | Sam Ruby <rubys@intertwingly.net> | 2013-03-09 12:08:37 -0500 |
---|---|---|
committer | Sam Ruby <rubys@intertwingly.net> | 2013-03-09 12:08:37 -0500 |
commit | c41b768a7846ee7ca4a1249a33603971359c2eb3 (patch) | |
tree | aaab4a8c4e9fd45608b8337dae9b436b40f68ef6 | |
parent | 0b93c259fa945c088bc9c6f64621c9976e58bf75 (diff) | |
download | rails-c41b768a7846ee7ca4a1249a33603971359c2eb3.tar.gz rails-c41b768a7846ee7ca4a1249a33603971359c2eb3.tar.bz2 rails-c41b768a7846ee7ca4a1249a33603971359c2eb3.zip |
ensure response.stream is closed
-rw-r--r-- | actionpack/lib/action_controller/metal/live.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/live.rb b/actionpack/lib/action_controller/metal/live.rb index 32e5afa335..9d628c916f 100644 --- a/actionpack/lib/action_controller/metal/live.rb +++ b/actionpack/lib/action_controller/metal/live.rb @@ -14,6 +14,7 @@ module ActionController # response.stream.write "hello world\n" # sleep 1 # } + # ensure # response.stream.close # end # end |