mirror of https://github.com/apache/lucene.git
call the right close
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dcf9dde9ea
commit
a75151efd5
|
@ -28,7 +28,7 @@ public class RefCntRamDirectory extends RAMDirectory {
|
|||
public void decRef() {
|
||||
ensureOpen();
|
||||
if (refCount.getAndDecrement() == 1) {
|
||||
close();
|
||||
super.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue