A MutableFlagGroup cannot function without its Snapshot, so it cannot be a weak reference.
This is a leftover from the original plan where the tree was created with the Snapshot, but now MutableFlagGroups are created lazily and not retained, so there is no retain cycle here.
📒 Description
A
MutableFlagGroup
cannot function without itsSnapshot
, so it cannot be a weak reference.This is a leftover from the original plan where the tree was created with the Snapshot, but now
MutableFlagGroup
s are created lazily and not retained, so there is no retain cycle here.