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

Remove panic from oneshot receiver #3674

Merged
merged 3 commits into from
Apr 4, 2021

Conversation

xd009642
Copy link
Contributor

@xd009642 xd009642 commented Apr 4, 2021

Get oneshot channel to return closed if value already read. This is an alternative to #3671 opening it now to make sure that CI is all good

Motivation

Solution

Get oneshot channel to return closed if value already read
@Darksonn Darksonn added A-tokio Area: The main tokio crate M-sync Module: tokio/sync labels Apr 4, 2021
@xd009642 xd009642 marked this pull request as ready for review April 4, 2021 17:02
@Darksonn Darksonn merged commit f93bc9b into tokio-rs:master Apr 4, 2021
@Darksonn Darksonn mentioned this pull request Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-sync Module: tokio/sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants