diff options
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | worker.go | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,5 @@ test: + go clean -testcache go test -v -race -cover . -tags=debug go test -v -race -cover ./plugins/rpc -tags=debug go test -v -race -cover ./plugins/rpc/tests -tags=debug @@ -262,8 +262,6 @@ func (w *WorkerProcess) closeRelay() error { // Stop sends soft termination command to the WorkerProcess and waits for process completion. func (w *WorkerProcess) Stop(ctx context.Context) error { - w.mu.Lock() - defer w.mu.Unlock() c := make(chan error) go func() { |