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

Do not throw when cancelling current token #10021

Merged

Conversation

gerhardol
Copy link
Member

Fixes #10018

Proposed changes

Catch OperationCanceledException when canceling tokens.

General change, not just in GitStatusMonitor (that may see this more easily due to the lock used).

Test methodology

Review

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

@ghost ghost assigned gerhardol Jun 1, 2022
@RussKie
Copy link
Member

RussKie commented Jun 2, 2022

+0

Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

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

Thank you

@mstv
Copy link
Member

mstv commented Jun 2, 2022

@sharwell, do you have objections?

@RussKie RussKie merged commit bb78421 into gitextensions:master Jun 30, 2022
@ghost ghost added this to the vNext milestone Jun 30, 2022
RussKie pushed a commit that referenced this pull request Jun 30, 2022
@RussKie RussKie modified the milestones: vNext, 4.0.0 Jun 30, 2022
@gerhardol gerhardol deleted the feature/i10018-cancel-gitstatus branch June 30, 2022 22:19
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.

[NBug] The operation was canceled. (on GE exit)
3 participants