@FiratSirin
no, besides the fact that those leaks are just visible inside the Xcode instruments, my app works just fine.
those leaks do not seem to cause any problems (yet)
i talked to apple about this issue during a wwdc24 labs session, and apple told me to open a bug report for this..
It should be fixed with iOS18.
So i created a bug report with ID: FB13844786 for that topic
Post
Replies
Boosts
Views
Activity
while debugging this for some time already, i observed that the leaks happen during the init of the actor, and even without any actor at all, as soon as i try to create a separate modelContext! seems like SwiftData cannot deal with two separate modelContext without leaking memory.