Bail if audio thread crashed
Program restart will be handled by Docker or systemd
This commit is contained in:
parent
c9ca033eda
commit
7084655364
1 changed files with 2 additions and 0 deletions
|
@ -143,3 +143,5 @@ if __name__ == "__main__":
|
|||
)
|
||||
print("Sent wakeword to Rhasspy")
|
||||
published = time.time()
|
||||
if not receive_audio_thread.is_alive:
|
||||
exit()
|
||||
|
|
Loading…
Add table
Reference in a new issue