Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
r3inbowari committed Jul 13, 2024
1 parent 63debf9 commit 8beddc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speedtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ func main() {
blocker := sync.WaitGroup{}
packetLossAnalyzerCtx, packetLossAnalyzerCancel := context.WithTimeout(context.Background(), time.Second*40)
taskManager.Run("Packet Loss Analyzer", func(task *Task) {
blocker.Add(1)
go func() {
blocker.Add(1)
defer blocker.Done()
err = analyzer.RunWithContext(packetLossAnalyzerCtx, server.Host, func(packetLoss *transport.PLoss) {
server.PacketLoss = *packetLoss
Expand Down

0 comments on commit 8beddc9

Please sign in to comment.