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

fix race with dropping mpsc::Receiver #1241

Merged
merged 3 commits into from
Sep 2, 2018

Conversation

carllerche
Copy link
Member

Fix a bug where messages sent into a channel at the same time as the
Receiver is dropped are never removed.

The impl in 0.3 suffers the same bug.

Fixes #909

Fix a bug where messages sent into a channel at the same time as the
`Receiver` is dropped are never removed.

Fixes rust-lang#909
@carllerche carllerche mentioned this pull request Sep 1, 2018
2 tasks
@MajorBreakfast
Copy link
Contributor

This needs review by either @aturon or @cramertj because I'm not familiar with that part of the code base. I do however think that it's important that this gets merged

Copy link
Contributor

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously reviewed this for tokio, and this is a backport, so r+.

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

Successfully merging this pull request may close these issues.

3 participants