summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rwxr-xr-xpkg/worker_watcher/worker_watcher.go2
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)
}()