Skip to content

Commit 4cbe61f

Browse files
Wait before quitting
1 parent fc19533 commit 4cbe61f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

download.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ func startCliDownload(url string, contentLength int64, outputFile *os.File) {
4343
waitGroup.Wait()
4444
downloading = false
4545
activeWorkers = 0
46+
time.Sleep(1 * time.Second)
4647
fmt.Println("Your file has been successfully downloaded!")
4748
}
4849

0 commit comments

Comments
 (0)