# File lib/pry-remote-em/client/broker.rb, line 24 def unbind log.info("[pry-remote-em broker-client] broker connection unbound starting a new one") # Give the existing broker a little time to release the port. Even if the # restart here fails the next time a server tries to register, a new client # will be created; when that fails Broker#restart will be called again. EM::Timer.new(rand(0.9)) do PryRemoteEm::Broker.restart end end