Skip to content

Commit

Permalink
Fixed deadlock with issue #113
Browse files Browse the repository at this point in the history
Signed-off-by: quobix <dave@quobix.com>
  • Loading branch information
daveshanley committed Mar 24, 2024
1 parent 7dcd9a6 commit acdc0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ func GetSummaryCommand() *cobra.Command {
}

doneChan <- true

return
}
case err := <-errorChan:
Expand Down Expand Up @@ -323,6 +322,7 @@ func runLeftRightSummary(left, right string, updateChan chan *model.ProgressUpda

e := printSummaryDetails(commits)
if e != nil {
close(updateChan)
return []error{e}
}
close(updateChan)
Expand Down

0 comments on commit acdc0a5

Please sign in to comment.