You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, I’m experiencing a major issue with the observe closure when used in conjunction with sharing-grdb.
For some reason, the observe closure randomly stops being called whenever my SharedReader (backed by a FetchKeyRequest) value changes. This leads to crashes in my app, as I’m relying on that closure to generate snapshots for my collection view.
I’ve created a sample project here, where the issue is reproducible. It also includes a failing unit test (running it 5 times is usually enough to observe the issue).
issue.mov
Checklist
I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
If possible, I've reproduced the issue using the main branch of this package.
Description
Hi everyone, I’m experiencing a major issue with the
observeclosure when used in conjunction with sharing-grdb.For some reason, the
observeclosure randomly stops being called whenever mySharedReader(backed by aFetchKeyRequest) value changes. This leads to crashes in my app, as I’m relying on that closure to generate snapshots for my collection view.I’ve created a sample project here, where the issue is reproducible. It also includes a failing unit test (running it 5 times is usually enough to observe the issue).
issue.mov
Checklist
mainbranch of this package.Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
SwiftUI Navigation version information
No response
Destination operating system
iOS 18
Xcode version information
16.4.0
Swift Compiler version information