🌎 Reduce blank lines

This commit is contained in:
Andy Pan 2019-01-25 22:00:33 +08:00
parent a0364a1128
commit 24c28c985c
2 changed files with 4 additions and 2 deletions

View File

@ -54,6 +54,7 @@ func (w *Worker) run() {
}
}
}()
for f := range w.task {
if f == nil {
w.pool.decRunning()

View File

@ -54,6 +54,7 @@ func (w *WorkerWithFunc) run() {
}
}
}()
for args := range w.args {
if args == nil {
w.pool.decRunning()