Updated kotlin methods
parent
b0cf03b2d9
commit
493426a09a
|
@ -38,7 +38,7 @@ internal class SuspendingPool<T> constructor(
|
|||
for (x in 0 until size) {
|
||||
val e = newInstance()
|
||||
poolObject.onReturn(e)
|
||||
channel.offer(e)
|
||||
channel.trySend(e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue