Skip to content

Commit 0546f69

Browse files
committed
Removed one goroutine in pattern leaks.
1 parent e700358 commit 0546f69

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/runtime/testdata/testgoroutineleakgc/patterns.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ func EarlyReturn() {
195195
prof.WriteTo(os.Stdout, 2)
196196
}()
197197

198-
go earlyReturn(nil)
199198
go earlyReturn(fmt.Errorf("error"))
200199
}
201200

0 commit comments

Comments
 (0)