Fixed deprecated channel offer method
This commit is contained in:
parent
ab2af26b48
commit
b5f7c109b2
|
@ -73,7 +73,7 @@ internal class ResponseManager(private val logger: KLogger, private val actionDi
|
||||||
actionDispatch.launch {
|
actionDispatch.launch {
|
||||||
try {
|
try {
|
||||||
for (it in ids) {
|
for (it in ids) {
|
||||||
waiterCache.offer(ResponseWaiter(it))
|
waiterCache.trySend(ResponseWaiter(it))
|
||||||
}
|
}
|
||||||
} catch (e: ClosedSendChannelException) {
|
} catch (e: ClosedSendChannelException) {
|
||||||
// this can happen if we are starting/stopping an endpoint (and thus a response-manager) VERY quickly, and can be ignored
|
// this can happen if we are starting/stopping an endpoint (and thus a response-manager) VERY quickly, and can be ignored
|
||||||
|
|
Loading…
Reference in New Issue
Block a user