protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         CabStream?.Dispose();
         CabEngine.Dispose();
     }
 }
示例#2
0
 public void Dispose()
 {
     engine.Dispose();
     if (DisposeStream)
     {
         CabinetStream.Dispose();
     }
 }
示例#3
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (CabStream != null)
         {
             CabStream.Dispose();
         }
         if (CabEngine != null)
         {
             CabEngine.Dispose();
         }
     }
 }