unsignedapps / Vexil

Vexil (named for Vexillology) is a Swift package for managing feature flags (also called feature toggles) in a flexible, multi-provider way.
https://vexil.unsignedapps.com
MIT License
114 stars 11 forks source link

Fixed disappearing Snapshots #78

Closed bok- closed 3 years ago

bok- commented 3 years ago

📒 Description

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.