sok / Sok.Buffer / BufferPool / freeBuffer
suspend fun freeBuffer(obj:
MultiplatformBuffer
):
Unit
(source)
Platform and version requirements: Common
Free the object in order to let another coroutine have it. If you forget to call this method the pool will empty itself and starve, blocking all coroutines calling requestBuffer()
obj
- Buffer to free