Permalink
Browse files

use a queue rather than a list. fixes #12069

  • Loading branch information...
1 parent b7685b5 commit 91684fb193a91671d682701cc1357e7b4b3fbe2b @tenderlove tenderlove committed Oct 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/notifications/fanout.rb
@@ -108,7 +108,7 @@ def matches?(subscriber_or_name)
class Timed < Evented
def initialize(pattern, delegate)
- @timestack = []
+ @timestack = Queue.new
super
end

0 comments on commit 91684fb

Please sign in to comment.