diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-06-19 04:56:32 +0300 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-06-19 04:56:32 +0300 |
commit | 94a5b853b401f6bd2fd9640c78714af177e4afb5 (patch) | |
tree | 2336d1fe29a143bc13aef70d174afab82f25d35d /main/src/addins/NUnit | |
parent | 6ae77eb7124846a3d0d28539226de1016ab75891 (diff) |
[NUnit] Fix leak of LocalConsole in running with Console Runner
CID 114432
Diffstat (limited to 'main/src/addins/NUnit')
-rw-r--r-- | main/src/addins/NUnit/Services/NUnitAssemblyTestSuite.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/addins/NUnit/Services/NUnitAssemblyTestSuite.cs b/main/src/addins/NUnit/Services/NUnitAssemblyTestSuite.cs index 0d12481769..e28f0179d0 100644 --- a/main/src/addins/NUnit/Services/NUnitAssemblyTestSuite.cs +++ b/main/src/addins/NUnit/Services/NUnitAssemblyTestSuite.cs @@ -559,6 +559,7 @@ namespace MonoDevelop.NUnit return UnitTestResult.CreateIgnored ("Test execution failed"); } finally { File.Delete (outFile); + cons.Dispose (); } } |