Skip to content

src: do not track BaseObjects directly in Realm

They are referenced through the CleanupQueue which is already tracked. Tracking them again in Realms results in duplicates in the heap snapshot.

Example of duplicates (the Realm doesn't actually reference the BindingData directly, and also Realm isn't an array/vector/list where indices make sense, the only valid reference is the one through CleanupQueue, where indices would somewhat make sense):

Screen Shot 2023-02-02 at 16 50 36

After this patch:

Screen Shot 2023-02-02 at 16 54 31

Merge request reports

Loading