lib/pigato/client.rb in pigato-0.2.6 vs lib/pigato/client.rb in pigato-0.2.7
- old
+ new
@@ -62,10 +62,10 @@
reconnect_to_broker
end
def stop
if @socket
- $socket.close
+ @socket.close
end
end
def reconnect_to_broker
stop