mirror of
https://github.com/golang/go
synced 2024-09-28 21:34:30 -06:00
cmd/go: close debug trace file
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
36cd880878
commit
30f462817b
@ -261,6 +261,7 @@ func invoke(cmd *base.Command, args []string) {
|
|||||||
}
|
}
|
||||||
defer func() {
|
defer func() {
|
||||||
rtrace.Stop()
|
rtrace.Stop()
|
||||||
|
f.Close()
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user