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

Clarify networking service shutdown #1389

Merged
merged 4 commits into from
Nov 22, 2023
Merged

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Nov 22, 2023

cc #1382

The networking service is a bit messy right now, in the sense that an event handler shuts down the background task, and the channel of messages closing is ignored.

This PR makes the background task detect the frontend shutdown by having the main messages channel being closed.

@tomaka tomaka added this pull request to the merge queue Nov 22, 2023
Merged via the queue into smol-dot:main with commit 43b8b0c Nov 22, 2023
22 checks passed
@tomaka tomaka deleted the net-service-shutdown branch November 22, 2023 16:02
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.

1 participant