修复了KCPClientNetwork断开网络连接会发生异常的问题

修复了KCPClientNetwork断开网络连接会发生异常的问题
This commit is contained in:
ALEXTANG
2023-09-05 14:39:53 +08:00
parent e3a47393f4
commit 87ab99b363

View File

@@ -56,7 +56,6 @@ namespace TEngine.Core.Network
ThreadSynchronizationContext.Main.Post(OnConnectDisconnect);
}
_socket.Disconnect(false);
_socket.Close();
}