Just use the ByteBuffer address to directly unmap the memory.
authorNot Zed <notzed@gmail.com>
Sun, 26 Jan 2020 07:53:59 +0000 (18:23 +1030)
committerNot Zed <notzed@gmail.com>
Sun, 26 Jan 2020 07:53:59 +0000 (18:23 +1030)
commit147b78b7e49661324148be23ef5e1fcfd004d97f
treeafc5a7616337178eb6839a136f712f87b03076ea
parent12839fe0996e6f0f0504af546e28f5d8bced66e0
Just use the ByteBuffer address to directly unmap the memory.
Thanks go to Maurizio Cimadamore <maurizio.cimadamore@oracle.com> for the
suggestion.
src/notzed.zcl/classes/au/notzed/zcl/CLCommandQueue.java
src/notzed.zcl/tests/au/notzed/zcl/CLBufferTest.java