Bail if audio thread crashed

Program restart will be handled by Docker or systemd
This commit is contained in:
Dale 2023-04-23 13:55:31 +02:00
parent c9ca033eda
commit 7084655364

View file

@ -143,3 +143,5 @@ if __name__ == "__main__":
)
print("Sent wakeword to Rhasspy")
published = time.time()
if not receive_audio_thread.is_alive:
exit()