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:
Mark Robert Miller 2010-03-20 15:06:25 +00:00
parent dcf9dde9ea
commit a75151efd5
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ public class RefCntRamDirectory extends RAMDirectory {
public void decRef() { public void decRef() {
ensureOpen(); ensureOpen();
if (refCount.getAndDecrement() == 1) { if (refCount.getAndDecrement() == 1) {
close(); super.close();
} }
} }