File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ import "go.uber.org/goleak"
5
5
// GoleakOptions is a common list of options to pass to goleak. This is useful if there is a known
6
6
// leaky function we want to exclude from goleak.
7
7
var GoleakOptions []goleak.Option = []goleak.Option {
8
+ // Go spawns a goroutine to lookup the protocol when run on
9
+ // windows. See https://go.dev/src/net/lookup_windows.go#L56
10
+ goleak .IgnoreAnyFunction ("net.lookupProtocol.func1" ),
8
11
// seelog (indirect dependency of dd-trace-go) has a known goroutine leak (https://github.com/cihub/seelog/issues/182)
9
12
// When https://github.com/DataDog/dd-trace-go/issues/2987 is resolved, this can be removed.
10
13
goleak .IgnoreAnyFunction ("github.com/cihub/seelog.(*asyncLoopLogger).processQueue" ),
You can’t perform that action at this time.
0 commit comments