Is there some smart way to check, if there are no ...
# ktor
o
Is there some smart way to check, if there are no leaks while using ktor-io ByteReadPackets?
@e5l may be you will help here, as seems you are the most familiar with
ktor-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?