This commit is contained in:
Bret Comnes
2020-02-13 11:59:16 -07:00
parent bf2d333152
commit 0dd3a06ef7
5 changed files with 27 additions and 12 deletions

View File

@@ -41,7 +41,10 @@ function statsHandler (opts = {}) {
logProgress(lastStats)
}
} else {
if (progressInterval) clearInterval(progressInterval)
if (progressInterval) {
clearInterval(progressInterval)
logProgress(lastStats)
}
}
}