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

Forget Waker when cloning LocalWaker #52640

Merged
merged 1 commit into from
Jul 24, 2018
Merged

Forget Waker when cloning LocalWaker #52640

merged 1 commit into from
Jul 24, 2018

Commits on Jul 23, 2018

  1. Forget Waker when cloning LocalWaker

    Since NonNull is Copy the inner field of the cloned Waker was copied for
    use in the new LocalWaker, however this left Waker to be dropped. Which
    means that when cloning LocalWaker would also erroneously call drop_raw.
    
    This change forgets the Waker, rather then dropping it, leaving the
    inner field to be used by the returned LocalWaker.
    
    Closes #52629.
    Thomasdezeeuw committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    89495f3 View commit details
    Browse the repository at this point in the history