Fix UmbracoContext issue (with a TODO)

This commit is contained in:
Stephan
2019-02-15 10:31:45 +01:00
parent 2adec8ee74
commit a46d40e9ef
2 changed files with 9 additions and 4 deletions

View File

@@ -95,6 +95,7 @@ namespace Umbraco.Web
// ok, process
// TODO: should we move this to after we've ensured we are processing a routable page?
// ensure there's an UmbracoContext registered for the current request
// registers the context reference so its disposed at end of request
var umbracoContextReference = _umbracoContextFactory.EnsureUmbracoContext(httpContext);