Skip to content

Commit

Permalink
fixed Request.User WindowsIdentity handle leak
Browse files Browse the repository at this point in the history
  • Loading branch information
vanjar committed Mar 1, 2017
1 parent 14986c2 commit 6009f34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Microsoft.Net.Http.Server/RequestProcessing/Request.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ internal void Dispose()
{
_nativeStream.Dispose();
}
(User?.Identity as IDisposable)?.Dispose();
}

private void CheckDisposed()
Expand Down

0 comments on commit 6009f34

Please sign in to comment.