You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If OpenChannelAsync() is successful, completionSource will reference the opened SshChannel and the SshSession. If the cancellation argument is long living, it'll root them after OpenChannelAsync() is done, potentially causing a memory leak.
There are several other places in C# SSH library with a similar pattern.
The text was updated successfully, but these errors were encountered:
SshSession.OpenChannelAsync()
registers a callback on itscancellation
argument like this:The callback registration is never disposed of.
If
OpenChannelAsync()
is successful,completionSource
will reference the openedSshChannel
and theSshSession
. If thecancellation
argument is long living, it'll root them afterOpenChannelAsync()
is done, potentially causing a memory leak.There are several other places in C# SSH library with a similar pattern.
The text was updated successfully, but these errors were encountered: