Skip to content

Conversation

@Rob-Hague
Copy link
Collaborator

  • Swallow exceptions occurring in the cancellation/timeout callback (due to disconnect) which would result in crash due to UnhandledException
  • Always complete the Task when cancelling, even when such an exception occurs, in order to avoid the Task never completing. In the case of client disconnect, it would still wait until timeout. This is not ideal since we should be able to complete right away, but at least it's no longer an indefinite hang

contributes to #1561

@WojciechNagorski WojciechNagorski merged commit 6d94e97 into sshnet:develop Jan 3, 2025
3 checks passed
@Rob-Hague Rob-Hague deleted the cmd-unhandledex branch January 3, 2025 10:20
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