-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ditto instance retain cycle in PresenceViewer #167
Conversation
Working from Konstantine's fix in [monorepo:](https://github.com/getditto/ditto/pull/10152/files#diff-e9c0cbddf72b763b74653917aa980f0d7c229f172d85250b57ea9bdb17a5da77) with changes for the current DittoSwiftTools version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@bplattenburg I'd would love to see this fix in a release, for a package version to be free from the crash issue it created for the builder app. At the same time, there is support for MacOS in the PresenceViewer module code. I built to the "My Mac (built for iPad)" simulator to test that code and it worked without crashing, however I'm not sure if that's sufficient testing to be confident of a release. Should we just merge it and see, or are there tests that should/would validate stability for intended supported platforms? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was already approved and merged to the monorepo but never made it here, so seems safe to merge.
We need to get this on the DittoPresenceViewer repo, looks like the source of truth is moving there
|
@magicwave for the purposes of this repo, I think we can validate on iOS & tvOS, but we have currently deemed true mac support to be too much effort given no known customer usage. In the broken out presence viewer, it may be a much smaller lift to support mac - I'll test it out there. "My Mac (built for iPad)" should be Mac Catalyst, which I thought we supported here but the current state of I'll give this a quick sanity check locally, and if all is well will merge & release a new version (likely 7.0.1) |
All works properly as far as I can tell, merging & releasing now |
Working from Konstantine's fix in monorepo version, modified for current DittoSwiftTools version (from main branch fbf428d).