Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
fix(prover): add to wait group in prover (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey authored Aug 30, 2023
1 parent e09fd97 commit edf95a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,11 @@ func (p *Prover) Start() error {
}

func (p *Prover) watchCurrentCapacity() {
p.wg.Add(1)
defer func() {
p.wg.Done()
}()

for {
select {
case <-p.ctx.Done():
Expand Down

0 comments on commit edf95a7

Please sign in to comment.