コード例 #1
0
 public override void Close()
 {
     Parent.TerminateReader(this);
     PushChunk(null, 0);
     if (IsMaster)
     {
         WriteBackStream?.Flush();
         WriteBackStream?.Close();
     }
 }
コード例 #2
0
 public override void Flush()
 {
     try
     {
         WriteBackStream?.Flush();
     }
     catch
     {
         Parent.TerminateReader(this);
     }
 }