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

Fix for snapshots in certain use cases #4514

Merged
merged 11 commits into from
Apr 23, 2024
Merged

Fix for snapshots in certain use cases #4514

merged 11 commits into from
Apr 23, 2024

Conversation

john-sharratt
Copy link
Contributor

No description provided.


// Install the ctrl-c handler
#[cfg(feature = "ctrlc")]
if attach_ctrl_c {
Copy link
Contributor

Choose a reason for hiding this comment

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

Putting this logic here in the runner seems a bit hacky to me, can't we do this on the outside without having to smush it into the runner?

Isn't it enough to be in the CLI?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's also in the runner (which is in the CLI) - however there is another code path left in the CLI which does not use the runner and hence comes down this path. The fix is to unify the code of both into one, that's quite a bit more work than this patch.

@theduke theduke merged commit 47ce811 into master Apr 23, 2024
59 of 61 checks passed
@theduke theduke deleted the snapshots branch April 23, 2024 06:28
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.

2 participants