summaryrefslogtreecommitdiff
path: root/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker.go')
-rwxr-xr-xworker.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/worker.go b/worker.go
index e2a4913e..0289a7fe 100755
--- a/worker.go
+++ b/worker.go
@@ -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() {