/// <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; }
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; }