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

fix: close iroh endpoint when I/O is stopped #6264

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Nov 26, 2024

No description provided.

@link2xt link2xt force-pushed the link2xt/iroh-stop-io branch 2 times, most recently from 143e177 to 509cce5 Compare November 26, 2024 03:06
src/peer_channels.rs Outdated Show resolved Hide resolved
@link2xt link2xt force-pushed the link2xt/iroh-stop-io branch from 509cce5 to 6087bb2 Compare November 26, 2024 04:22
src/context.rs Outdated Show resolved Hide resolved
@link2xt link2xt force-pushed the link2xt/iroh-stop-io branch 2 times, most recently from f918ecb to f1f2aac Compare November 27, 2024 17:49
src/context.rs Outdated Show resolved Hide resolved
src/peer_channels.rs Outdated Show resolved Hide resolved
alice
.get_or_try_init_peer_channel()
.await
.unwrap()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor, but i'd return Result from tests to get rid of unwrap() everywhere, it really eats much screen space :)

@link2xt link2xt force-pushed the link2xt/iroh-stop-io branch from 3f2c8b9 to 0e0d312 Compare November 28, 2024 15:51
@link2xt link2xt merged commit 4edade2 into main Nov 28, 2024
37 checks passed
@link2xt link2xt deleted the link2xt/iroh-stop-io branch November 28, 2024 17:06
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 this pull request may close these issues.

4 participants