mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ensure response.stream is closed
This commit is contained in:
parent
0b93c259fa
commit
c41b768a78
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ module ActionController
|
||||||
# response.stream.write "hello world\n"
|
# response.stream.write "hello world\n"
|
||||||
# sleep 1
|
# sleep 1
|
||||||
# }
|
# }
|
||||||
|
# ensure
|
||||||
# response.stream.close
|
# response.stream.close
|
||||||
# end
|
# end
|
||||||
# end
|
# end
|
||||||
|
|
Loading…
Reference in a new issue