/// <inheritdoc/> public void Dispose() { if (isDisposed) { return; } isDisposed = true; if (isAdmin) { hypervClient.Dispose(); hypervClient = null; } else { grpcChannel.Dispose(); grpcChannel = null; desktopService = null; } }