Skip to content

Conversation

jkillingsworth
Copy link
Contributor

@jkillingsworth jkillingsworth commented Dec 23, 2023

This is a fix for the issue described in #1275. This fix is based on a suggestion by @Rob-Hague in #1275 (comment).

Note that I have suppressed the S2222 warning. I believe this to be a false positive. I don't see any execution paths where the lock does not get released.

Co-authored-by: Rob Hague <rob.hague00@gmail.com>
@WojciechNagorski
Copy link
Collaborator

@Rob-Hague Can you make a review? It's your idea.

Copy link
Collaborator

@Rob-Hague Rob-Hague left a comment

Choose a reason for hiding this comment

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

Thanks!

@WojciechNagorski WojciechNagorski merged commit e7a64dd into sshnet:develop Dec 28, 2023
@WojciechNagorski WojciechNagorski added this to the 2023.0.1 milestone Dec 28, 2023
@jkillingsworth jkillingsworth deleted the fix-hung-dispose branch December 28, 2023 22:14
@WojciechNagorski
Copy link
Collaborator

The 2023.0.1 version has been released to Nuget: https://www.nuget.org/packages/SSH.NET/2023.0.1

@jkillingsworth
Copy link
Contributor Author

The 2023.0.1 version has been released to Nuget: https://www.nuget.org/packages/SSH.NET/2023.0.1

Thank you @WojciechNagorski!

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