Addec leanup code to the ContainerTestBase.

This commit is contained in:
Sipke Schoorstra
2015-08-10 18:05:15 +01:00
parent 92c6d5fd80
commit 01de9ef646

View File

@@ -14,6 +14,12 @@ namespace Orchard.Tests {
Resolve(_container); Resolve(_container);
} }
[TearDown]
public void Cleanup() {
if (_container != null)
_container.Dispose();
}
#if false #if false
// technically more accurate, and doesn't work // technically more accurate, and doesn't work
[SetUp] [SetUp]