lib/monetdb/connection.rb in monetdb-0.2.6 vs lib/monetdb/connection.rb in monetdb-0.2.7
- old
+ new
@@ -63,10 +63,10 @@
setup
true
end
def disconnect
- socket.disconnect if connected?
+ socket.close if connected?
@socket = nil
end
def connected?
!socket.nil?