aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSergey Alekseev <sergey.alekseev.minsk@gmail.com>2014-12-04 14:35:52 +0300
committerSergey Alekseev <sergey.alekseev.minsk@gmail.com>2014-12-04 14:35:52 +0300
commitd09bce96b4ee0e2e2434caaed5ff07fe7d9fd1c9 (patch)
tree45102846dcf54db762ae11fa3400a8aa53f4d964 /actionpack
parent21cff02a9c4add719ed7cef0d92793fd2f624c0f (diff)
downloadrails-d09bce96b4ee0e2e2434caaed5ff07fe7d9fd1c9.tar.gz
rails-d09bce96b4ee0e2e2434caaed5ff07fe7d9fd1c9.tar.bz2
rails-d09bce96b4ee0e2e2434caaed5ff07fe7d9fd1c9.zip
remove unused #await_close
The method was added in https://github.com/rails/rails/commit/30d21dfcb7fafe49b3805b8249454485a90097b6#diff-5055d9f16b442adb1d2f0f65903a196bR141. With the method call in https://github.com/rails/rails/commit/30d21dfcb7fafe49b3805b8249454485a90097b6#diff-cc7bb557df2247c0a42bc180fdb6eb05R47. Later one more method call was added in https://github.com/rails/rails/commit/401787db4bc428dce88b04e343a64c6a6c3b681c#diff-cc7bb557df2247c0a42bc180fdb6eb05R183. And both method calls were deleted in https://github.com/rails/rails/commit/3df07d093a1e4207caa63fd2e3b67599211f5800#diff-cc7bb557df2247c0a42bc180fdb6eb05L47 and https://github.com/rails/rails/commit/3df07d093a1e4207caa63fd2e3b67599211f5800#diff-cc7bb557df2247c0a42bc180fdb6eb05L189. Just do `grep -nr 'await_close' .`.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/live.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/lib/action_controller/metal/live.rb b/actionpack/lib/action_controller/metal/live.rb
index 1e13b3761f..7590fb6843 100644
--- a/actionpack/lib/action_controller/metal/live.rb
+++ b/actionpack/lib/action_controller/metal/live.rb
@@ -189,12 +189,6 @@ module ActionController
!@aborted
end
- def await_close
- synchronize do
- @cv.wait_until { @closed }
- end
- end
-
def on_error(&block)
@error_callback = block
end