Skip to content
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

[Auth] Synchronize static method of AuthDefaultUIDelegate on main actor #14112

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

ncooke3
Copy link
Member

@ncooke3 ncooke3 commented Nov 13, 2024

Method's Implementation uses a lot of main actor isolated APIs, so I think it makes sense to isolate the entire method on the main actor.

The caller of this API is in a DispatchQueue.main.async {} which is isolated on the main actor so no call sites need to change.

Screenshot 2024-11-13 at 2 11 46 PM

Other no-op changes were to make the class final and switch the method from a class method to a static method.

#no-changelog

@ncooke3 ncooke3 merged commit 28c3e88 into main Nov 13, 2024
55 checks passed
@ncooke3 ncooke3 deleted the nc/mainactor-delegate branch November 13, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants