Skip to content

LinuxContainer: stop the VM when setup fails after start - #836

Merged
crosbymichael merged 1 commit into
apple:mainfrom
ArnavReddy:vm-start-cleanup
Aug 10, 2026
Merged

LinuxContainer: stop the VM when setup fails after start#836
crosbymichael merged 1 commit into
apple:mainfrom
ArnavReddy:vm-start-cleanup

Conversation

@ArnavReddy

Copy link
Copy Markdown
Contributor

vm.start() sits outside the do block that owns teardown. This change prevents a failure in the agent setup from orphaning a VM.

@crosbymichael
crosbymichael merged commit 5427fd2 into apple:main Aug 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants