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

Allow desktop runner Interrupt to be called multiple times #1344

Merged

Conversation

RebeccaMahany
Copy link
Contributor

Relates to #1205

While investigating an autoupdate shutdown issue, noticed that shutdown could block on runner.Interrupt being called multiple times. I experimented with a couple different solutions, but found this was ultimately the simplest solution that didn't result in data races in tests.

Copy link
Contributor

@zackattack01 zackattack01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! love the test

@directionless directionless added this pull request to the merge queue Sep 7, 2023
Merged via the queue into kolide:main with commit 81def1b Sep 7, 2023
25 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/runner-interrupt-multiple branch September 8, 2023 13:39
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