Commit 368de5cf authored by vicotor's avatar vicotor

update worker registry info

parent adc55579
......@@ -140,6 +140,7 @@ func (wm *WorkerManager) StopRegistry(uuid int64) {
wm.wkRwLock.Lock()
defer wm.wkRwLock.Unlock()
if reg, exist := wm.workerReg[uuid]; exist {
reg.Clear()
reg.Stop()
delete(wm.workerReg, uuid)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment