mirror of
https://github.com/tursom/TursomServer.git
synced 2025-03-14 03:40:06 +08:00
update buffers
This commit is contained in:
parent
d76bfdc89b
commit
278e19511c
@ -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))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user