Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unlimited channel doesn't correctly invoke onUndeliveredElement on cancellation #2435

Closed
qwwdfsad opened this issue Dec 7, 2020 · 1 comment
Assignees

Comments

@qwwdfsad
Copy link
Member

qwwdfsad commented Dec 7, 2020

Reproducer:

 val channelBuffered = Channel<Int>(10) { println("RELEASE[BUFFER]: $it") }
 val channelUnlimited = Channel<Int>(Channel.UNLIMITED) { println("RELEASE[UNLIMITED]: $it") }
 repeat(5) {
     channelBuffered.offer(it)
     channelUnlimited.offer(it)
 }
 channelBuffered.cancel()
 channelUnlimited.cancel()
@whyoleg
Copy link
Contributor

whyoleg commented Feb 17, 2021

Hey, @qwwdfsad when can we expect version, with this issue fixed, published? Will it be 1.4.3 or part of 1.5.0 release train?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants