Remove invalid Debug.Assert in Http2Connection (#3080)

The _streams dictionary may not contain the completing stream in
OnStreamCompleted since the IsDraining flag is applied beforehand
which allows it to be removed by the request processing thread.
This commit is contained in:
Stephen Halter 2018-11-07 17:08:44 -08:00
parent 50bb0b3bc9
commit 2b87e7be85
1 changed files with 0 additions and 4 deletions

View File

@ -1062,10 +1062,6 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2
_streams.TryRemove(streamId, out _);
}
}
else
{
Debug.Assert(false, "Missing stream");
}
if (_activeStreamCount == 0)
{