lib/netsoul/client.rb in netsoul-2.3.6 vs lib/netsoul/client.rb in netsoul-2.3.7

- old
+ new

@@ -81,10 +81,10 @@ 'nothing'.freeze # Send some string and permit IO.select to thrown exception if something goes wrong. end end def close - @socket.close + @socket.close if @socket ensure @started = false end end end