Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Commit

Permalink
twitch add wg.add
Browse files Browse the repository at this point in the history
  • Loading branch information
JustHumanz committed Apr 29, 2022
1 parent 0fe4588 commit 776da69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/livestream/twitch/twitch.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ func (i *checkTwcJob) Run() {
var wg sync.WaitGroup
for k, v := range Group.Members {
if v.TwitchName != "" && v.Active() {
wg.Add(1)

go func(Member database.Member, w *sync.WaitGroup) {
defer w.Done()
Expand Down

0 comments on commit 776da69

Please sign in to comment.