From b347f2e9d1026b842f264c6960a8bcf3f7849501 Mon Sep 17 00:00:00 2001 From: Saxon Date: Sun, 14 Apr 2019 11:13:17 +0930 Subject: [PATCH] revid: set revid.isRunning to false before waiting, because this is what triggers output routine to be killed. --- revid/revid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/revid.go b/revid/revid.go index f3d4cf99..d8068115 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -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 {