Merge pull request #6319 from wanyaoqi/bugfix/wyq/do-close-worker-chan

bugfix: do not close appsrv worker chan
This commit is contained in:
yunion-ci-robot
2020-05-13 20:16:03 +08:00
committed by GitHub
-3
View File
@@ -83,9 +83,6 @@ func (worker *SWorker) run() {
task := req.(*sWorkerTask)
if task.worker != nil {
task.worker <- worker
// worker channel is buffered
// close the worker channel
close(task.worker)
}
execCallback(task)
} else {