lib/artoo/adaptors/sphero.rb in artoo-sphero-1.4.0 vs lib/artoo/adaptors/sphero.rb in artoo-sphero-1.5.0
- old
+ new
@@ -33,9 +33,10 @@
end
# Closes connection with device
# @return [Boolean]
def disconnect
+ Logger.info "Stopping and disconnecting sphero"
sphero.close if connected?
super
end