From a54d3190d73faa918b2761c91bdfdd48380d105c Mon Sep 17 00:00:00 2001 From: txavier Date: Fri, 28 Nov 2014 17:31:40 -0500 Subject: [PATCH] Update StructureMapDependencyScope.cs.pp Fixes issue with context being null. https://github.com/webadvanced/Structuremap.MVC5/issues/7 --- content/DependencyResolution/StructureMapDependencyScope.cs.pp | 1 - 1 file changed, 1 deletion(-) diff --git a/content/DependencyResolution/StructureMapDependencyScope.cs.pp b/content/DependencyResolution/StructureMapDependencyScope.cs.pp index a807999..a77e470 100644 --- a/content/DependencyResolution/StructureMapDependencyScope.cs.pp +++ b/content/DependencyResolution/StructureMapDependencyScope.cs.pp @@ -89,7 +89,6 @@ public void DisposeNestedContainer() { if (CurrentNestedContainer != null) { CurrentNestedContainer.Dispose(); - CurrentNestedContainer = null; } }