Skip to content

This seems to be causing panics in tokio's linked_list #4

Description

@awused

This crate really fills a hole my application needs, so thanks for making it.

I think !Unpin futures are inadvertently moved during cancel() calls here, and changing that take() to drop_in_place() and write(None) seems to fix it.

if (*task.future.get()).is_some() {
    task.future.get().drop_in_place();
    task.future.get().write(None);

See tokio-rs/tokio#6597
The link to this repository on crates.io is also broken.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions