fix closing of bus daemon connection on close

This commit is contained in:
LeonardoTrapani
2025-08-12 20:58:47 +02:00
parent 92213f0d8c
commit 7ed9ea1900
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ func (p *pipeline) run(ctx context.Context, statusCh chan<- Status) {
// Recording phase
select {
case <-time.After(2 * time.Second):
log.Printf("Pipeline: Recording complete, waiting for injection")
log.Printf("Pipeline: TODO start recording, and on first chunk set transcribing and start streaming with Whisper")
statusCh <- Transcribing
case <-ctx.Done():
log.Printf("Pipeline: Stopped during recording")