Fixed disconnection

This commit is contained in:
MaxXor 2015-06-10 15:31:51 +02:00
parent 6d75eac831
commit 8df408cf4b
2 changed files with 0 additions and 2 deletions

View File

@ -426,7 +426,6 @@ public void Disconnect()
if (_handle != null)
{
_handle.Shutdown(SocketShutdown.Both);
_handle.Close();
_readOffset = 0;
_writeOffset = 0;

View File

@ -392,7 +392,6 @@ public void Disconnect()
if (_handle != null)
{
_handle.Shutdown(SocketShutdown.Both);
_handle.Close();
}