Permalink
Browse files

can't modify hash during iter

  • Loading branch information...
sorah committed Oct 22, 2017
1 parent 099affc commit 2bbf40c85f48b4b9e08b45fac4438f019a3f31ce
Showing with 1 addition and 1 deletion.
  1. +1 −1 isubata/webapp/ruby/app.rb
@@ -55,7 +55,7 @@ def start
end
def on_payload(payload)
@subscribers.each_key do |th|
@subscribers.dup.each_key do |th|
th.wakeup
end
end

0 comments on commit 2bbf40c

Please sign in to comment.