diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-28 13:42:49 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-28 13:42:49 -0700 |
commit | f78c5fbb96b507fb80405c25cfce12136f9d45cd (patch) | |
tree | f53c7f7b74db982bfe912147007ef5006af2e125 /activesupport/lib/active_support/notifications | |
parent | f85c4c6912bf45dd4f363db9c24e358ef323e152 (diff) | |
download | rails-f78c5fbb96b507fb80405c25cfce12136f9d45cd.tar.gz rails-f78c5fbb96b507fb80405c25cfce12136f9d45cd.tar.bz2 rails-f78c5fbb96b507fb80405c25cfce12136f9d45cd.zip |
use a queue rather than a list. fixes #12069
Diffstat (limited to 'activesupport/lib/active_support/notifications')
-rw-r--r-- | activesupport/lib/active_support/notifications/fanout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |