lib/faye/patches/client.rb in faye-reconnect-0.0.2 vs lib/faye/patches/client.rb in faye-reconnect-0.0.3
- old
+ new
@@ -6,9 +6,10 @@
info('Disconnecting ?', @dispatcher.client_id)
@dispatcher.close
info('Clearing channel listeners for ?', @dispatcher.client_id)
@channels = Channel::Set.new
+ @response_callbacks = {}
true
end
def reconnect(&block)
@reconnect_callback = block