LUCENE-4252: null these out for GC to close ram leak

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365444 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-07-25 04:49:21 +00:00
parent b77c7e684d
commit de8e3661fc

View File

@ -117,6 +117,9 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
slaveJetty.stop();
master.tearDown();
slave.tearDown();
masterJetty = slaveJetty = null;
master = slave = null;
masterClient = slaveClient = null;
}
private static JettySolrRunner createJetty(SolrInstance instance) throws Exception {