Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kill spawned processes when Spectrum is closed #27

Open
Ashoat opened this issue Sep 3, 2019 · 0 comments
Open

Kill spawned processes when Spectrum is closed #27

Ashoat opened this issue Sep 3, 2019 · 0 comments
Labels

Comments

@Ashoat
Copy link
Member

Ashoat commented Sep 3, 2019

Currently, Spectrum can be closed in a way that causes its child processes to be orphaned. It's possible to add code that makes sure that the child processes get closed when the MainWindow is closed, but that won't address the case where Spectrum is closed because of a kill signal or a crash. Hitting the stop button in Visual Studio issues a kill signal, which means if we want to handle that correctly we'll need to address this issue.

Doing this correctly requires some weird Windows kernel stuff. This StackOverflow answer has the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant