/// <summary> /// Close and dispose components and client when exiting program /// </summary> public void Closing() { _client.Dispose(); _client = null; _rest.Dispose(); _rest = null; _inviteWindow = null; }
/// <summary> /// Disposes of the _rest object. /// </summary> public void Closing() { _rest.Dispose(); _rest = null; }