public override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing)
     {
         sslStream?.Dispose();
         sslStream      = null;
         connectionInfo = null;
     }
 }
Beispiel #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (ssl_stream != null)
         {
             ssl_stream.Dispose();
         }
         ssl_stream = null;
     }
     base.Dispose(disposing);
 }