File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/Renci.SshNet/Channels Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ public void Bind()
93
93
// even though the client has disconnected, we still want to properly close the
94
94
// channel
95
95
//
96
- // we'll do this in in Close(bool) that way we have a single place from which we
97
- // send an SSH_MSG_CHANNEL_EOF message and wait for the SSH_MSG_CHANNEL_CLOSE
98
- // message
96
+ // we'll do this in in Close() - invoked through Dispose(bool) - that way we have
97
+ // a single place from which we send an SSH_MSG_CHANNEL_EOF message and wait for
98
+ // the SSH_MSG_CHANNEL_CLOSE message
99
99
}
100
100
101
101
/// <summary>
@@ -246,7 +246,6 @@ protected override void OnDisconnected()
246
246
// to accept any more data from the client (and we surely won't send anything
247
247
// anymore)
248
248
//
249
- //
250
249
// so lets signal to the client that we will not send or receive anything anymore
251
250
// this will also interrupt the blocking receive in Bind()
252
251
ShutdownSocket ( SocketShutdown . Both ) ;
You can’t perform that action at this time.
0 commit comments