lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/3] lucenenet git commit: A thread wasn't closing files.
Date Sat, 07 Feb 2015 22:58:19 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 302bc356f -> b7108d486


A thread wasn't closing files.


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/b15f2419
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/b15f2419
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/b15f2419

Branch: refs/heads/master
Commit: b15f24195727c22083fa92fea81ac7c52cca359f
Parents: e2f872d
Author: Guido Tagliavini Ponce <t-gupon@microsoft.com>
Authored: Fri Feb 6 11:51:05 2015 -0800
Committer: Guido Tagliavini Ponce <t-gupon@microsoft.com>
Committed: Fri Feb 6 11:51:05 2015 -0800

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Store/TestDirectory.cs | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/b15f2419/src/Lucene.Net.Tests/core/Store/TestDirectory.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Store/TestDirectory.cs b/src/Lucene.Net.Tests/core/Store/TestDirectory.cs
index 31dfebb..0795d3c 100644
--- a/src/Lucene.Net.Tests/core/Store/TestDirectory.cs
+++ b/src/Lucene.Net.Tests/core/Store/TestDirectory.cs
@@ -134,6 +134,7 @@ namespace Lucene.Net.Store
                             try
                             {
                                 IndexInput input = outerBDWrapper.OpenInput(file, NewIOContext(Random()));
+                                input.Dispose();
                             }
                             catch (FileNotFoundException fne)
                             {


Mime
View raw message