mirror of https://bitbucket.org/ausocean/av.git
revid: set revid.isRunning to false before waiting, because this is what triggers output routine to be killed.
This commit is contained in:
parent
5cd12bff8a
commit
b347f2e9d1
|
@ -359,8 +359,8 @@ func (r *Revid) Stop() {
|
|||
if r.cmd != nil && r.cmd.Process != nil {
|
||||
r.cmd.Process.Kill()
|
||||
}
|
||||
r.wg.Wait()
|
||||
r.setIsRunning(false)
|
||||
r.wg.Wait()
|
||||
}
|
||||
|
||||
func (r *Revid) Update(vars map[string]string) error {
|
||||
|
|
Loading…
Reference in New Issue