We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2080076 + 9bb1999 commit 769d317Copy full SHA for 769d317
examples/remote-benchmark/node1/main.go
@@ -56,6 +56,7 @@ func main() {
56
if err != nil {
57
log.Fatal(err)
58
}
59
+ defer f.Close()
60
pprof.StartCPUProfile(f)
61
defer pprof.StopCPUProfile()
62
0 commit comments