mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 02:58:58 +00:00
allow static resources to be gced
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034361 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
15d4b3d65e
commit
69313c1d47
@ -63,7 +63,9 @@ public class TestSubScorerFreqs extends LuceneTestCase {
|
||||
public static void finish() throws Exception {
|
||||
s.getIndexReader().close();
|
||||
s.close();
|
||||
s = null;
|
||||
dir.close();
|
||||
dir = null;
|
||||
}
|
||||
|
||||
private static class CountingCollector extends Collector {
|
||||
|
Loading…
x
Reference in New Issue
Block a user