Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Dec 24, 2023
1 parent f4f324c commit 0dd2467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/logic/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (this *Server) runCPUProfile(args string) (string, error) {
defer runtime.SetBlockProfileRate(0)
}
if useGzip {
writer = gzip.NewWriter(&buf)
writer = gzip.NewWriter(writer)
}
if err = pprof.StartCPUProfile(writer); err != nil {
return "", err
Expand Down

0 comments on commit 0dd2467

Please sign in to comment.