aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/action_cable/channel/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable/channel/base.rb b/lib/action_cable/channel/base.rb
index e6ca45ddcc..83ba2cb3d2 100644
--- a/lib/action_cable/channel/base.rb
+++ b/lib/action_cable/channel/base.rb
@@ -129,7 +129,7 @@ module ActionCable
end
def stop_periodic_timers
- @_active_periodic_timers.each {|t| t.cancel }
+ @_active_periodic_timers.each { |timer| timer.cancel }
end