From 9b886ceab6a63e8264f2b2c9d35d76628085dbd6 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Fri, 3 May 2019 12:28:11 +0300 Subject: added pool watcher capability --- worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worker.go') diff --git a/worker.go b/worker.go index b01b362a..d476b918 100644 --- a/worker.go +++ b/worker.go @@ -127,7 +127,7 @@ func (w *Worker) Wait() error { return &exec.ExitError{ProcessState: w.endState} } -// Stop sends soft termination command to the worker and waits for process completion. +// Detach sends soft termination command to the worker and waits for process completion. func (w *Worker) Stop() error { select { case <-w.waitDone: -- cgit v1.2.3