Skip to content

Commit 0038f1f

Browse files
committed
Clear the nativeRequestContext on dispose
1 parent 5823bba commit 0038f1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Servers/HttpSys/src/AsyncAcceptContext.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ protected virtual void Dispose(bool disposing)
198198
{
199199
_nativeRequestContext.ReleasePins();
200200
_nativeRequestContext.Dispose();
201+
_nativeRequestContext = null;
201202
}
202203
}
203204
}

0 commit comments

Comments
 (0)