Skip to content

Commit

Permalink
Update kyo-core/shared/src/main/scala/kyo/Channel.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Hearn <[email protected]>
  • Loading branch information
fwbrasil and hearnadam authored Oct 19, 2024
1 parent 6decacf commit 6b5c0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kyo-core/shared/src/main/scala/kyo/Channel.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)) =>
Expand Down

0 comments on commit 6b5c0ac

Please sign in to comment.