Skip to content

Commit

Permalink
Fix waitgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
jlelse committed Sep 23, 2023
1 parent c57ae03 commit 75e6032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uiPluginsHelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func (*goBlog) wrapForPlugins(
_ = pw.Close()
wg.Wait()
}
wg.Add(1)
go func() {
wg.Add(1)
defer wg.Done()
doc, err := goquery.NewDocumentFromReader(pr)
_ = pr.CloseWithError(err)
Expand Down

0 comments on commit 75e6032

Please sign in to comment.