/// <summary> /// Breaks the connection between the child and parent mount points /// </summary> /// <param name="rChild">Child mount point to break</param> private void DisconnectMountPoints(MountPoint rChild, MountPoint rParent) { if (rChild == null) { return; } rChild.ChildTo(null); // Sanity check to ensure the child is removed from the parent if (rParent != null) { rParent.RemoveChild(rChild); } // Flag the list as needing updating mIsDirty = true; }