/// <summary> /// TODO Soon /// </summary> protected void OnApplicationQuit() { //Shutdown the socket if (SocketController.GetSocketClient() != null && SocketController.GetSocketClient().Client.Connected) { Debug.Log("Requesting the socket to get lose"); SocketController.GetSocketClient().Disconnect(); } }