Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add comment
  • Loading branch information
benaadams committed Nov 16, 2018
commit baf4b0e1e09a77aed046e862ebdf82f88bcd65e4
1 change: 1 addition & 0 deletions src/Microsoft.AspNetCore.Http/HttpContextAccessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public HttpContext HttpContext
}
else if (holder != null)
{
// Only want to set it to null if its already set; as setting to null is still a value and will move off default context
_httpContextCurrent.Value = null;
}
}
Expand Down