From 13bd184e58ac0e47222c95f44f7e24976f66d4e3 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Tue, 23 Jan 2018 20:10:52 -0500 Subject: travis is weird --- worker.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/worker.go b/worker.go index ec743738..cb788030 100644 --- a/worker.go +++ b/worker.go @@ -105,12 +105,12 @@ func (w *Worker) Start() error { w.endState, _ = w.cmd.Process.Wait() if w.waitDone != nil { w.state.set(StateStopped) - close(w.waitDone) - if w.rl != nil { - w.mu.Lock() - defer w.mu.Unlock() + //w.mu.Lock() + //defer w.mu.Unlock() + close(w.waitDone) + if w.rl != nil { w.rl.Close() } } -- cgit v1.2.3