mirror of https://github.com/apache/lucene.git
use closeWhileHandlingException when success is false
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/slowclosing@1393566 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c34e9434c4
commit
38f1194d47
|
@ -183,7 +183,7 @@ public final class BloomFilteringPostingsFormat extends PostingsFormat {
|
||||||
success = true;
|
success = true;
|
||||||
} finally {
|
} finally {
|
||||||
if (!success) {
|
if (!success) {
|
||||||
IOUtils.close(bloomIn, delegateFieldsProducer);
|
IOUtils.closeWhileHandlingException(bloomIn, delegateFieldsProducer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue