From 1b0fb30743d5f95a4405aaf92ccbbc3362af527f Mon Sep 17 00:00:00 2001 From: nite07 Date: Wed, 23 Oct 2024 15:44:10 +0800 Subject: [PATCH] u --- streamer/streamer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/streamer/streamer.go b/streamer/streamer.go index b018a41..6409221 100644 --- a/streamer/streamer.go +++ b/streamer/streamer.go @@ -163,6 +163,7 @@ func (s *Streamer) start() { log.Println("case <-s.ctx.Done") if s.cmd != nil && s.cmd.Process != nil { _ = s.cmd.Process.Kill() + s.cmd = nil } case err := <-waitCmd(s.cmd): log.Println("case err := <-waitCmd(s.cmd)")