From 6b5c0ace0c32c06ba5ec77ed4248c9b56aee7300 Mon Sep 17 00:00:00 2001 From: Flavio Brasil Date: Sat, 19 Oct 2024 09:48:46 -0700 Subject: [PATCH] Update kyo-core/shared/src/main/scala/kyo/Channel.scala Co-authored-by: Adam Hearn <22334119+hearnadam@users.noreply.github.com> --- kyo-core/shared/src/main/scala/kyo/Channel.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kyo-core/shared/src/main/scala/kyo/Channel.scala b/kyo-core/shared/src/main/scala/kyo/Channel.scala index fa677adff..aa4f8b490 100644 --- a/kyo-core/shared/src/main/scala/kyo/Channel.scala +++ b/kyo-core/shared/src/main/scala/kyo/Channel.scala @@ -246,7 +246,7 @@ object Channel: flush() else if queueSize > 0 && !takesEmpty then // Attempt to transfer a value from the queue to - // a waiting take opeation. + // a waiting take operation. Maybe(takes.poll()).foreach { promise => queue.poll() match case Result.Success(Present(value)) =>