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

Drop task future before fulfill join handle #3

Closed
kezhuw opened this issue May 20, 2024 · 0 comments · Fixed by #4
Closed

Drop task future before fulfill join handle #3

kezhuw opened this issue May 20, 2024 · 0 comments · Fixed by #4

Comments

@kezhuw
Copy link
Owner

kezhuw commented May 20, 2024

This way after task::spawn(future).await, we know that all
values contained in the future are dropped.

kezhuw added a commit that referenced this issue May 21, 2024
This way after `task::spawn(future).await`, we know that all
values contained in the `future` are dropped.

Resolves #3.
kezhuw added a commit that referenced this issue May 21, 2024
This way after `task::spawn(future).await`, we know that all
values contained in the `future` are dropped.

Resolves #3.
@kezhuw kezhuw changed the title Drop future before fulfill join handle Drop task future before fulfill join handle May 21, 2024
@kezhuw kezhuw closed this as completed in #4 May 21, 2024
kezhuw added a commit that referenced this issue May 21, 2024
This way after `task::spawn(future).await`, we know that all
values contained in the `future` are dropped.

Resolves #3.
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 a pull request may close this issue.

1 participant