-
Notifications
You must be signed in to change notification settings - Fork 500
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 login crash on Xcode 14 builds #6728
Conversation
📱 Scan the QR code below to install the build for this PR. If you can't scan the QR code you can install the build via this link: https://i.diawi.com/fsALxs |
Codecov ReportBase: 9.92% // Head: 9.96% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #6728 +/- ##
===========================================
+ Coverage 9.92% 9.96% +0.03%
===========================================
Files 1484 1484
Lines 150486 150506 +20
Branches 60742 60752 +10
===========================================
+ Hits 14934 14992 +58
+ Misses 135006 134960 -46
- Partials 546 554 +8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
This covers all login and registration options.
Kudos, SonarCloud Quality Gate passed! |
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.
I've pushed another commit on here that puts the session creator method on the main actor instead. This fixes registration and SSO login as well.
Fixes #6722
To be honest, I'm not sure if this is a Swift bug or not but the additional
@MainActor
appears to force theawait
ed call onto the main thread which prevents the assertion.Pull Request Checklist