diff options
Diffstat (limited to 'pkg/worker_watcher/worker_watcher.go')
-rwxr-xr-x | pkg/worker_watcher/worker_watcher.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/worker_watcher/worker_watcher.go b/pkg/worker_watcher/worker_watcher.go index 39d334ba..5c0882b0 100755 --- a/pkg/worker_watcher/worker_watcher.go +++ b/pkg/worker_watcher/worker_watcher.go @@ -294,8 +294,6 @@ func (ww *workerWatcher) wait(w worker.BaseProcess) { } func (ww *workerWatcher) addToWatch(wb worker.BaseProcess) { - ww.mutex.Lock() - defer ww.mutex.Unlock() go func() { ww.wait(wb) }() |