void OnDisable() { ClientSocket clientsocket = ClientSocket.GetSocket(); clientsocket.ClientClose(); }