mirror of https://github.com/apache/lucene.git
Remove a cloned MMapIndexInput from the clones map when its closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1437798 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3801883396
commit
ee97b7a489
|
@ -272,6 +272,7 @@ abstract class ByteBufferIndexInput extends IndexInput {
|
|||
// make local copy, then un-set early
|
||||
final ByteBuffer[] bufs = buffers;
|
||||
unsetBuffers();
|
||||
clones.remove(this);
|
||||
|
||||
if (isClone) return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue