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

daemon: Always close the ready channel on error #264

Merged
merged 1 commit into from
Dec 21, 2024
Merged

Conversation

3v1n0
Copy link
Collaborator

@3v1n0 3v1n0 commented Dec 19, 2024

We were not closing it in case broker.New failed, so let's just use a deferred function to ensure that this always happens, unless we're done it already explicitly

@3v1n0 3v1n0 requested a review from a team as a code owner December 19, 2024 06:09
We were not closing it in case broker.New failed, so let's just use
a deferred function to ensure that this always happens, unless we're
done it already explicitly
@3v1n0 3v1n0 merged commit 133b4b7 into ubuntu:main Dec 21, 2024
4 checks passed
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