예제 #1
0
        public override void Close()
        {
            Debug("Close!");

            if (ssl != null)
            {
                ssl.Dispose();
                ssl = null;
            }
            if (ctx != null)
            {
                ctx.Dispose();
                ctx = null;
            }
            if (bio != null)
            {
                bio.Dispose();
                bio = null;
            }
            if (errbio != null)
            {
                errbio.Dispose();
                errbio = null;
            }
        }
예제 #2
0
 public override void Close()
 {
     Debug("Close!");
     ssl.Dispose();
 }