mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-17 05:21:15 +08:00
Make sure to shutdown receive socket when client has closed.
This commit is contained in:
@@ -127,6 +127,8 @@ namespace Renci.SshNet.Tests.Common
|
||||
else
|
||||
{
|
||||
SignalDisconnected(handler);
|
||||
handler.Shutdown(SocketShutdown.Both);
|
||||
handler.Close();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user