1
0
mirror of https://github.com/golang/go synced 2024-09-28 17:14:29 -06:00

cmd/go: close debug trace file

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guoguangwu 2024-03-21 11:59:11 +08:00
parent 36cd880878
commit 30f462817b

View File

@ -261,6 +261,7 @@ func invoke(cmd *base.Command, args []string) {
}
defer func() {
rtrace.Stop()
f.Close()
}()
}