Skip to content

Commit

Permalink
Just remove the asserts (dotnet#93715)
Browse files Browse the repository at this point in the history
  • Loading branch information
ManickaP authored Oct 19, 2023
1 parent 7a5f0c2 commit 66c76b4
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -713,9 +713,6 @@ public override async ValueTask DisposeAsync()
await valueTask.ConfigureAwait(false);
}
Debug.Assert(_startedTcs.IsCompleted);
// 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.
//Debug.Assert(_receiveTcs.IsCompleted);
//Debug.Assert(_sendTcs.IsCompleted);
_handle.Dispose();

// TODO: memory leak if not disposed
Expand Down

0 comments on commit 66c76b4

Please sign in to comment.