Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 66c76b4

Browse files
authored
Just remove the asserts (#93715)
1 parent 7a5f0c2 commit 66c76b4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libraries/System.Net.Quic/src/System/Net/Quic/QuicStream.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -713,9 +713,6 @@ public override async ValueTask DisposeAsync()
713713
await valueTask.ConfigureAwait(false);
714714
}
715715
Debug.Assert(_startedTcs.IsCompleted);
716-
// TODO: If there was and ongoing read/write when dispose was called, MsQuic events might be processed, but the continuations may not thus the state can still be in Ready.
717-
//Debug.Assert(_receiveTcs.IsCompleted);
718-
//Debug.Assert(_sendTcs.IsCompleted);
719716
_handle.Dispose();
720717

721718
// TODO: memory leak if not disposed

0 commit comments

Comments
 (0)