Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Allow record_pulseaudio to exit when state.is_running == False #53

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

chatziko
Copy link
Contributor

When state.is_running becomes false, record_pulseaudio gets stuck in await queue.get(), since no chunk will ever arrive. This one-line PR adds a final empty chunk to allow record_pulseaudio to exit.

This issue was causing homeassistant-satellite to get stuck on my system when a HA connection could not be established at startup (normally the satellite should exit in this case).

@synesthesiam synesthesiam merged commit a812431 into synesthesiam:master Oct 29, 2023
@synesthesiam
Copy link
Owner

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants