We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c9f15 commit b6edd93Copy full SHA for b6edd93
cmd/mc-router/main.go
@@ -48,6 +48,7 @@ func main() {
48
if err != nil {
49
logrus.WithError(err).Fatal("trying to create cpu profile file")
50
}
51
+ defer cpuProfileFile.Close()
52
53
logrus.WithField("file", *cpuProfileFile).Info("Starting cpu profiling")
54
err = pprof.StartCPUProfile(cpuProfileFile)
0 commit comments