Update
This commit is contained in:
parent
a4651e17b7
commit
dc98cb4b5e
@ -208,6 +208,10 @@ namespace Client.Handle_Packet
|
|||||||
{
|
{
|
||||||
Error(ex.Message);
|
Error(ex.Message);
|
||||||
}
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
GC.Collect();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void Received()
|
private static void Received()
|
||||||
|
@ -169,7 +169,7 @@ namespace Server
|
|||||||
Clients client = (Clients)itm.Tag;
|
Clients client = (Clients)itm.Tag;
|
||||||
ThreadPool.QueueUserWorkItem(client.Send, msgpack.Encode2Bytes());
|
ThreadPool.QueueUserWorkItem(client.Send, msgpack.Encode2Bytes());
|
||||||
}
|
}
|
||||||
//GC.Collect();
|
GC.Collect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user