public override void Close() { //base.Close(); if (ssl != null) { ssl.Dispose(); ssl = null; } if (sslContext != null) { sslContext.Dispose(); sslContext = null; } }
public override void Close() { if (disposed) { return; } if (ssl != null) { ssl.Dispose(); ssl = null; } if (sslContext != null) { sslContext.Dispose(); sslContext = null; } base.Close(); this.Dispose(); }