Skip to content

Commit 09697b6

Browse files
committed
2 parents 06d6cb8 + c0408f5 commit 09697b6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/ServiceProvider.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,9 @@ public static explicit operator UnityContainer(ServiceProvider c)
7575

7676
public void Dispose()
7777
{
78-
// TODO: Disabled until these issues are resolved
79-
// https://github.com/unitycontainer/microsoft-dependency-injection/issues/40
80-
// https://github.com/aspnet/Extensions/issues/1301
81-
//IDisposable disposable = _container;
82-
//_container = null;
83-
//disposable?.Dispose();
78+
IDisposable disposable = _container;
79+
_container = null;
80+
disposable?.Dispose();
8481
}
8582

8683
#endregion

0 commit comments

Comments
 (0)