From f78c5fbb96b507fb80405c25cfce12136f9d45cd Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 28 Oct 2013 13:42:49 -0700 Subject: use a queue rather than a list. fixes #12069 --- activesupport/lib/active_support/notifications/fanout.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/notifications/fanout.rb b/activesupport/lib/active_support/notifications/fanout.rb index 99fe03e6d0..f7f1987380 100644 --- a/activesupport/lib/active_support/notifications/fanout.rb +++ b/activesupport/lib/active_support/notifications/fanout.rb @@ -108,7 +108,7 @@ module ActiveSupport class Timed < Evented def initialize(pattern, delegate) - @timestack = [] + @timestack = Queue.new super end -- cgit v1.2.3