Closed jkillingsworth closed 9 months ago
@Rob-Hague Can you make a review? It's your idea.
The 2023.0.1 version has been released to Nuget: https://www.nuget.org/packages/SSH.NET/2023.0.1
The 2023.0.1 version has been released to Nuget: https://www.nuget.org/packages/SSH.NET/2023.0.1
Thank you @WojciechNagorski!
This is a fix for the issue described in #1275. This fix is based on a suggestion by @Rob-Hague in https://github.com/sshnet/SSH.NET/issues/1275#issuecomment-1864933734.
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.