Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
internal.providers: fix last commit where mutex unlock should have be…
Browse files Browse the repository at this point in the history
… lock
  • Loading branch information
nicksherron committed Feb 5, 2020
1 parent 0760667 commit aa0e3a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ func proxylistDownloadP(ctx context.Context) Proxies {
continue
}
p := Proxy{Proxy: proxy, Source: source}
mu.Unlock()
mu.Lock()
foundProxies = append(foundProxies, &p)
mu.Unlock()
}
Expand Down

0 comments on commit aa0e3a6

Please sign in to comment.