u
This commit is contained in:
parent
bf23ae74a0
commit
1b0fb30743
@ -163,6 +163,7 @@ func (s *Streamer) start() {
|
|||||||
log.Println("case <-s.ctx.Done")
|
log.Println("case <-s.ctx.Done")
|
||||||
if s.cmd != nil && s.cmd.Process != nil {
|
if s.cmd != nil && s.cmd.Process != nil {
|
||||||
_ = s.cmd.Process.Kill()
|
_ = s.cmd.Process.Kill()
|
||||||
|
s.cmd = nil
|
||||||
}
|
}
|
||||||
case err := <-waitCmd(s.cmd):
|
case err := <-waitCmd(s.cmd):
|
||||||
log.Println("case err := <-waitCmd(s.cmd)")
|
log.Println("case err := <-waitCmd(s.cmd)")
|
||||||
|
Loading…
Reference in New Issue
Block a user