public void Dispose()
 {
     lock (flushLock)
     {
         BaseStream.Dispose();
         writer.Flush();
         writer.Dispose();
         diagnosticOutputStream.Dispose();
     }
 }
Esempio n. 2
0
 public void Dispose()
 {
     baseStream?.Dispose();
 }
Esempio n. 3
0
 public void Dispose()
 {
     lock (sync)
         baseStream.Dispose();
 }