Beispiel #1
0
 protected override void Dispose(bool IsDisposing)
 {
     IsOpen = false;
     if (IsDisposing)
     {
         _Stream.Dispose();
     }
 }
Beispiel #2
0
 protected virtual void Dispose(bool native)
 {
     if (_outp != null)
     {
         _outp.Dispose();
         _outp = null;
     }
     if (_history != null)
     {
         _history.Dispose();
         _history = null;
     }
 }