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 {