Server Performance boost
The Servers Performance was up to 100% percent. Tried to close threads not needed directly. now it is under 1% (Threads stacking, when errors)
This commit is contained in:
@@ -318,4 +318,9 @@ public class Client : MonoBehaviour
|
||||
{
|
||||
stream.Write(new byte[]{10, index, 0, 0, 0, 0, 0, 0, 0, 0});
|
||||
}
|
||||
|
||||
private void OnApplicationQuit()
|
||||
{
|
||||
stream.Write(new byte[]{126, 0, 0, 0, 0, 0, 0, 0, 0, 0});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user