lib/ib-ruby/connection.rb in ib-ruby-0.5.17 vs lib/ib-ruby/connection.rb in ib-ruby-0.5.18
- old
+ new
@@ -128,9 +128,10 @@
else
raise ArgumentError.new "#{what} must represent incoming IB message class"
end
subscribers[message_class][subscriber_id] = subscriber
+ # TODO: Fix: RuntimeError: can't add a new key into hash during iteration
end
subscriber_id
end
# Remove all subscribers with specific subscriber id (TODO: multiple ids)