示例#1
0
 public override void Close()
 {
     _wrap.CloseAsync().ConfigureAwait(false).GetAwaiter().GetResult();
     base.Close();
 }
示例#2
0
 /// <inheritdoc />
 public void Close()
 {
     _stream.CloseAsync().GetAwaiter().GetResult();
 }