summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-23 20:10:52 -0500
committerWolfy-J <[email protected]>2018-01-23 20:10:52 -0500
commit13bd184e58ac0e47222c95f44f7e24976f66d4e3 (patch)
tree712e1a1315ee34d580079634232d829260945f07
parentaddbcd1eb6bc5a2364a8aedb7eab52197b8b35c9 (diff)
travis is weird
-rw-r--r--worker.go8
1 files 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()
}
}