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

Add Drop impl to futures::channel::mpsc::UnboundedReceiver #2064

Merged
merged 1 commit into from Feb 6, 2020
Merged

Add Drop impl to futures::channel::mpsc::UnboundedReceiver #2064

merged 1 commit into from Feb 6, 2020

Commits on Feb 6, 2020

  1. Add Drop impl to futures::channel::mpsc::UnboundedReceiver

    Pre-0.3.2, clients could expect to drop an UnboundedReceiver and observe
    that incoming messages are dropped and the channel closed.
    
    This change re-introduces this behavior for UnboundedReceiver and adds
    tests to prevent regressions.
    
    Note that a drop impl already exists for BoundedReceiver.
    Adam Lesinski committed Feb 6, 2020
    Copy the full SHA
    79d6007 View commit details
    Browse the repository at this point in the history