diff options
author | Wolfy-J <[email protected]> | 2018-01-23 20:10:52 -0500 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-01-23 20:10:52 -0500 |
commit | 13bd184e58ac0e47222c95f44f7e24976f66d4e3 (patch) | |
tree | 712e1a1315ee34d580079634232d829260945f07 /worker.go | |
parent | addbcd1eb6bc5a2364a8aedb7eab52197b8b35c9 (diff) |
travis is weird
Diffstat (limited to 'worker.go')
-rw-r--r-- | worker.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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() } } |