diff --git a/pkg/machine/applehv/machine.go b/pkg/machine/applehv/machine.go index 1253b1c802..cb3b2243af 100644 --- a/pkg/machine/applehv/machine.go +++ b/pkg/machine/applehv/machine.go @@ -397,6 +397,11 @@ func (m *MacMachine) Remove(name string, opts machine.RemoveOptions) (string, fu if err := m.Vfkit.stop(true, true); err != nil { return "", nil, err } + defer func() { + if err := machine.CleanupGVProxy(m.GvProxyPid); err != nil { + logrus.Error(err) + } + }() } files = m.collectFilesToDestroy(opts)