Dispose of the existing native context before creating a new one.
This commit is contained in:
parent
99fc843cc5
commit
02331040a1
|
|
@ -184,6 +184,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys
|
|||
|
||||
internal void AllocateNativeRequest(uint? size = null, ulong requestId = 0)
|
||||
{
|
||||
_nativeRequestContext?.Dispose();
|
||||
//Debug.Assert(size != 0, "unexpected size");
|
||||
|
||||
// We can't reuse overlapped objects
|
||||
|
|
|
|||
Loading…
Reference in New Issue