mirror of
https://github.com/nxshock/gwp.git
synced 2024-11-27 03:31:02 +05:00
Fix buffer usage order
This commit is contained in:
parent
a2986a9485
commit
0d6ffec530
4
gwp.go
4
gwp.go
@ -128,9 +128,9 @@ func (workerPool *WorkerPool) printProgress() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
buf.WriteTo(os.Stderr)
|
|
||||||
|
|
||||||
workerPool.lastProgressMessage = buf.String()
|
workerPool.lastProgressMessage = buf.String()
|
||||||
|
|
||||||
|
buf.WriteTo(os.Stderr)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add sends specified task for execution.
|
// Add sends specified task for execution.
|
||||||
|
Loading…
Reference in New Issue
Block a user