Exemple #1
0
        /// <inheritdoc/>
        public void Dispose()
        {
            if (isDisposed)
            {
                return;
            }

            isDisposed = true;

            if (isAdmin)
            {
                hypervClient.Dispose();
                hypervClient = null;
            }
            else
            {
                grpcChannel.Dispose();

                grpcChannel    = null;
                desktopService = null;
            }
        }