update buffers

This commit is contained in:
tursom 2021-07-16 15:12:48 +08:00
parent d76bfdc89b
commit 278e19511c

View File

@ -14,7 +14,6 @@ class InstantMemoryPool(
override fun free(memory: ByteBuffer) {
if (memory is InstantByteBuffer && memory.pool == this && !memory.closed) {
memory.closed = true
memoryList.add(SoftReference(memory))
}
}