releaseLast() not release()

This commit is contained in:
Peter Lawrey
2020-06-19 08:53:51 +01:00
parent de77812087
commit 9bc37f830b
2 changed files with 2 additions and 2 deletions
@@ -115,7 +115,7 @@ keyClass = map.keyType();
Jvm.warn().on(getClass(), "Unable to update", e);
header = e.toString();
} finally {
mf.release();
mf.releaseLast();
assert mf.refCount() == 0;
}
}
@@ -62,7 +62,7 @@ public class DoubleArrayTest {
// expected
}
// free the memory.
da.bytesStore().release();
da.bytesStore().releaseLast();
}
@Test