8000 feat: add ShuttingDown error by ReactorScram · Pull Request #14 · nulldotblack/wintun · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add ShuttingDown error #14

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

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

ReactorScram
Copy link
Contributor

This will make it easier to catch the shutdown message and cleanly exit e.g. a worker thread or Tokio task that's in receive_blocking, without needing to match the string exactly and without ignoring other types of errors.

This will make it easier to catch the shutdown message and cleanly exit
e.g. a worker thread or Tokio task that's in `receive_blocking`, without
needing to match the string exactly and without ignoring other types of errors.
@TroyNeubauer
8000 Copy link
Collaborator

Thanks! This is much better.

@TroyNeubauer TroyNeubauer merged commit 9e9a113 into nulldotblack:main Dec 29, 2023
@TroyNeubauer TroyNeubauer mentioned this pull request Jan 12, 2024
@ReactorScram ReactorScram deleted the add-shutdown-error branch January 22, 2024 18:37
ReactorScram added a commit to firezone/firezone that referenced this pull request Jan 22, 2024
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.

2 participants
0