summaryrefslogtreecommitdiff
path: root/worker/worker.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-12-23 20:57:41 +0300
committerValery Piashchynski <[email protected]>2021-12-23 20:57:41 +0300
commit5a9c81a4aee940a9bc476f2f3bafd13b411e2786 (patch)
treed53386065c22bd624bb8f92cb5733d6e728221d7 /worker/worker.go
parent31112495808ae37f38f7b514de1f40b8b8a75238 (diff)
add Reset method to the pool
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'worker/worker.go')
-rwxr-xr-xworker/worker.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/worker/worker.go b/worker/worker.go
index 564d83c4..b2689c59 100755
--- a/worker/worker.go
+++ b/worker/worker.go
@@ -223,7 +223,6 @@ func (w *Process) Kill() error {
return err
}
w.state.Set(StateStopped)
-
w.events.Unsubscribe(w.eventsID)
return nil
}