Skip to content

Implement Ctrl+C on coreclr - #13428

Merged
dsyme merged 2 commits into
dotnet:mainfrom
KevinRansom:investigate
Jul 3, 2022
Merged

dsyme merged 2 commits into
dotnet:mainfrom
KevinRansom:investigate

Conversation

@KevinRansom

Copy link
Copy Markdown
Contributor

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.

@KevinRansom
KevinRansom requested review from dsyme and vzarytovskii July 1, 2022 08:49

open Internal.Utilities.FSharpEnvironment

type ControlledExecution (thread:Thread) =

Copy link
Copy Markdown
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

dsyme commented Jul 3, 2022

Copy link
Copy Markdown
Contributor

@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