Skip to content

Conversation

@chriso
Copy link
Contributor

@chriso chriso commented May 7, 2024

This PR ensures we kill the child process if the CLI exits with an unexpected error.

Pdeathsig helps on Linux, but it isn't available elsewhere, e.g. macOS.

I've reworked how we create background goroutines so that if a panic occurs we manually kill the child process.

@chriso chriso self-assigned this May 7, 2024
@chriso chriso merged commit 5549160 into main May 7, 2024
@chriso chriso deleted the dangling-process-fix branch May 7, 2024 23:41
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