mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-13 04:47:17 +02:00
Removed invalid comment
This commit is contained in:
parent
05ffdede56
commit
069199b2d8
1 changed files with 4 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue