Example #1
0
 protected override void Dispose(bool disposing)
 {
     if (this.aH != IntPtr.Zero)
     {
         MacOSXVirtualFileStream.VirtualFileStream_Close(this.aH);
         this.aH = IntPtr.Zero;
     }
     base.Dispose(disposing);
 }
Example #2
0
 public override void Close()
 {
     if (this.aH != IntPtr.Zero)
     {
         MacOSXVirtualFileStream.VirtualFileStream_Close(this.aH);
         this.aH = IntPtr.Zero;
     }
     base.Close();
 }