diff --git a/pkg/terminal/command.go b/pkg/terminal/command.go index 1a1c399c..5af30ad3 100644 --- a/pkg/terminal/command.go +++ b/pkg/terminal/command.go @@ -3123,6 +3123,7 @@ func (c *Commands) onCmd(t *Term, ctx callContext, argstr string) error { return err } defer func() { + _ = f.Close() _ = os.Remove(f.Name()) }() attrs := formatBreakpointAttrs("", ctx.Breakpoint, true)