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

Implement Ctrl+C on coreclr #13428

Merged
merged 2 commits into from
Jul 3, 2022
Merged

Implement Ctrl+C on coreclr #13428

merged 2 commits into from
Jul 3, 2022

Conversation

KevinRansom
Copy link
Member

Currently ctrl+c handling on dotnet 6.0 is broken:
image

With this change it will still not work correctly on dotnet 6.0, but at least it won't crash.
image

On dotnet 7.0, after the feature is committed it will light up and work correctly:
image

Desktop fsi will continue to work as it does today.


open Internal.Utilities.FSharpEnvironment

type ControlledExecution (thread:Thread) =
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice clean code :)

@dsyme dsyme merged commit 3229db8 into dotnet:main Jul 3, 2022
@dsyme
Copy link
Contributor

dsyme commented Jul 3, 2022

@KevinRansom Can you manually test behaviour when cancelling using the Visual Studio IDE please? thanks

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