Oleg Yukhnevich
10/11/2020, 11:44 AMktor-io/kotlinx-io
I want to check, that all created packets/buffers are released in the end of test
I have created own pool implementation, which delegates to default pool and track borrow/recycle calls: https://github.com/rsocket/rsocket-kotlin/blob/task/leak-detection/rsocket-test/src/commonMain/kotlin/io/rsocket/kotlin/test/InUseTrackingPool.kt
But it will work, only if all buffers will be from that Pool
May be exists some other way, or any other advice?