Ejemplo n.º 1
0
        /// <summary>
        /// Releases the unmanaged resources and disposes of the managed resources used.
        /// </summary>
        /// <param name="disposing">Whether or not the managed resources should be disposed.</param>
        protected virtual void Dispose(bool disposing)
        {
            if (_disposed)
            {
                return;
            }

            _linuxIsoManager.OnUnmount(this);

            _disposed = true;
        }
Ejemplo n.º 2
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (disposing)
            {
                //
                // Free managed objects here.
                //

                linuxIsoManager.OnUnmount(this);
            }

            //
            // Free any unmanaged objects here.
            //

            disposed = true;
        }