示例#1
0
 // IDisposable
 protected override void Dispose(bool disposing)
 {
     if (!IsDisposed)
     {
         if (disposing)
         {
             ReadBuffer?.Dispose();
             WriteBuffer?.Dispose();
             InnerTransport?.Dispose();
         }
     }
     IsDisposed = true;
 }