Example #1
0
 /// <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();
     }
 }