mirror of https://github.com/apache/lucene.git
SOLR-4977: add back this null check, getConfig calls ensureOpen...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498957 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28b372ad47
commit
5f678a0e23
|
@ -147,7 +147,9 @@ public class SolrIndexWriter extends IndexWriter {
|
|||
break;
|
||||
}
|
||||
} finally {
|
||||
infoStream.close();
|
||||
if (infoStream != null) {
|
||||
infoStream.close();
|
||||
}
|
||||
isClosed = true;
|
||||
directoryFactory.release(directory);
|
||||
numCloses.incrementAndGet();
|
||||
|
|
Loading…
Reference in New Issue