Detect leaked go-routines bases on pre-normalization syntax.
@@ -126,7 +126,7 @@ func interestingGoroutines() (gs []string) {
strings.Contains(stack, "created by text/template/parse.lex") ||
strings.Contains(stack, "runtime.MHeap_Scavenger") ||
strings.Contains(stack, "rcrypto/internal/boring.(*PublicKeyRSA).finalize") ||
- strings.Contains(stack, "net.(*netFD).Close(...)") {
+ strings.Contains(stack, "net.(*netFD).Close(") {
continue
}
gs = append(gs, stack)
