Skip to content

Commit

Permalink
Merging fix from @clivetong into our own SSH.NET fork
Browse files Browse the repository at this point in the history
- The following article describes some of the issues with the double check lock that we have seen issues with: https://www.sudhanshutheone.com/posts/double-check-lock-csharp
  • Loading branch information
patrick-yates-redgate committed Sep 28, 2023
1 parent dd2e552 commit a530090
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Renci.SshNet/Channels/Channel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,6 @@ protected virtual void Dispose(bool disposing)
var session = _session;
if (session != null)
{
_session = null;
session.ChannelWindowAdjustReceived -= OnChannelWindowAdjust;
session.ChannelDataReceived -= OnChannelData;
session.ChannelExtendedDataReceived -= OnChannelExtendedData;
Expand Down

0 comments on commit a530090

Please sign in to comment.