Remove an item (and, recursively, its whole subtree) from its own root's id index - the reverse of registerItemIds. Call before the item is actually detached, while its parentItem chain still resolves and its own subtree is still intact to walk.
The subtree to unregister, root item included.
Remove an item (and, recursively, its whole subtree) from its own root's id index - the reverse of registerItemIds. Call before the item is actually detached, while its parentItem chain still resolves and its own subtree is still intact to walk.