Skip to content

Commit

Permalink
added progressbar.stop
Browse files Browse the repository at this point in the history
  • Loading branch information
effdotsh committed Nov 30, 2023
1 parent b7fac2b commit f742220
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions videoGenerator.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,9 @@ func genImageSequence(req VideoRequest) {

frameRequestsWG.Wait()

//uiprogress.Stop()

if bar != nil {
uiprogress.Stop()
}
}

func writeFrame(r FrameRequest, frameCounter uint64, dimensions [2]int, bar *uiprogress.Bar) {
Expand Down

0 comments on commit f742220

Please sign in to comment.