ActionContextAccessor netstandard behave like net451 (#5810)

This commit is contained in:
Ryan Brandenburg 2017-02-16 14:34:13 -08:00 committed by GitHub
parent 401296ac43
commit 239e2202e1
1 changed files with 1 additions and 1 deletions

View File

@ -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
{