mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
releaseLast() not release()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user