Skip to content

Commit

Permalink
Merge pull request #384 from projectdiscovery/bugfix-resize
Browse files Browse the repository at this point in the history
Updating size property on Resize
  • Loading branch information
Mzack9999 authored Apr 4, 2024
2 parents 03cb015 + 3fe361c commit 663cfe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sync/adaptivewaitgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,5 @@ func (s *AdaptiveWaitGroup) Wait() {

func (s *AdaptiveWaitGroup) Resize(size int) {
s.current.Resize(channels.BufferCap(size))
s.Size = int(s.current.Cap())
}

0 comments on commit 663cfe2

Please sign in to comment.