Module: Net::LDAP::Connection::FixSSLSocketSyncClose

Defined in:
lib/tcr/net/ldap.rb

Instance Method Summary collapse

Instance Method Details

#closeObject



7
8
9
10
11
12
13
# File 'lib/tcr/net/ldap.rb', line 7

def close
  super
  # see: https://github.com/ruby-ldap/ruby-net-ldap/pull/314
  return if io.closed?

  io.close
end