Removed invalid comment

This commit is contained in:
Deluan
2021-01-03 18:16:37 -05:00
parent 05ffdede56
commit 069199b2d8
+4 -5
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
}