-
Notifications
You must be signed in to change notification settings - Fork 235
fix(iroh-net): Make sure the rtt-actor is shutdown correctly #2914
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
Conversation
When the endpoint is dropped the rtt-actor should be shut down. This makes sure this actually happens. Fixes #2911
Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/2914/docs/iroh/ Last updated: 2024-11-12T10:19:16Z |
I believe the |
@PaulOlteanu thanks for the insight! I guess my metal model of select's branch matching is all wrong. The docs say that the first branch that completes is returned and all other futures are cancelled. So I was considering at that point there's one value, Re-reading the docs:
So this is why I had this totally wrong, as long as there are enabled branches select does not move on to the else branch or return. Thanks for making me realise what I had done wrong! |
github actions network issues it seems like? try again |
Description
When the endpoint is dropped the rtt-actor should be shut down. This
makes sure this actually happens.
Fixes #2911
Breaking Changes
Notes & open questions
Also make sure the task is aborted on drop. We should always do this anyway.
Change checklist