ActionContextAccessor netstandard behave like net451 (#5810)
This commit is contained in:
parent
401296ac43
commit
239e2202e1
|
|
@ -29,7 +29,7 @@ namespace Microsoft.AspNetCore.Mvc.Infrastructure
|
|||
}
|
||||
}
|
||||
#else
|
||||
private readonly AsyncLocal<ActionContext> _storage = new AsyncLocal<ActionContext>();
|
||||
private static readonly AsyncLocal<ActionContext> _storage = new AsyncLocal<ActionContext>();
|
||||
|
||||
public ActionContext ActionContext
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue