diff options
author | Wolfy-J <[email protected]> | 2018-06-12 23:55:06 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-12 23:55:06 +0300 |
commit | 01f4eaa5678d366de55b84dd0b0b4186c47f6dc5 (patch) | |
tree | ff0fcedf3b701ba4e8f25949000a568d565900a0 /worker.go | |
parent | 9a33c61229cae83ce00cd86ad619fa1825b95421 (diff) |
better multithread control
Diffstat (limited to 'worker.go')
-rw-r--r-- | worker.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -109,7 +109,6 @@ func (w *Worker) Wait() error { w.cmd.Wait() } - // todo: is it ok? if w.endState.Success() { w.state.set(StateStopped) return nil |