Method: Rex::Proto::Kerberos::Client#close

Defined in:
lib/rex/proto/kerberos/client.rb

#closeObject

Closes the connection



56
57
58
59
60
61
62
63
# File 'lib/rex/proto/kerberos/client.rb', line 56

def close
  if connection
    connection.shutdown
    connection.close unless connection.closed?
  end

  self.connection = nil
end