]> Cypherpunks repositories - gostls13.git/commit
cmd/pprof: remove tempDir when no longer needed
authorJoe Tsai <joetsai@digital-static.net>
Wed, 11 May 2016 17:23:37 +0000 (10:23 -0700)
committerJoe Tsai <thebrokentoaster@gmail.com>
Wed, 11 May 2016 18:25:07 +0000 (18:25 +0000)
commite9407ae514df7d18e162ce03ebd530fe21aed16d
tree91c22d20c4f40410b8be7c2822d035a2ca7b07f8
parent2ffb3e5d905b5622204d199128dec06cefd57790
cmd/pprof: remove tempDir when no longer needed

The pprof tools properly cleans up all files it creates, but forgets
to clean up the temporary directory itself. This CL fixes that.

Fixes #13863

Change-Id: I1151c36cdad5ace7cc97e7e04001cf0149ef0f63
Reviewed-on: https://go-review.googlesource.com/23019
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/pprof/commands/commands.go
src/cmd/internal/pprof/tempfile/tempfile.go