Removed invalid comment

This commit is contained in:
Deluan 2021-01-03 18:16:37 -05:00 committed by Joe Stump
parent 368ebc77b0
commit 31e79117eb
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -67,6 +67,10 @@ func (p *Pool) Submit(workload interface{}) {
p.queue <- work{workload}
}
func (p *Pool) Stop() {
p.done <- true
}
type work struct {
workload interface{}
}
@ -84,8 +88,3 @@ func (w *worker) Start() {
}
}()
}
// end worker
func (p *Pool) Stop() {
p.done <- true
}