child._nextSibling = null;
child._previousSibling = null;
dropChild(child);
child.DisposeCPtr();
D.assert(!child.attached);
}