1
0
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:
nxshock 2022-06-26 18:24:12 +05:00
parent a2986a9485
commit 0d6ffec530

4
gwp.go
View File

@ -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.