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] Ignore concurrency warnings for global vars made for testing #14101

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

ncooke3
Copy link
Member

@ncooke3 ncooke3 commented Nov 12, 2024

These fixes address global mutable state errors. These are mutable so the Auth sample app can toggle between different hosts. I've so far tried to avoid using nonisolated(unsafe), but I couldn't find a simpler way to address them for now.

If we introduce any global actors, we can synchronize them on a global actor. Until there is a need for that though, I feel it's fine to ignore the warnings via this PR.

#no-changelog

@ncooke3 ncooke3 merged commit 4ae9684 into main Nov 13, 2024
55 checks passed
@ncooke3 ncooke3 deleted the nc/global-vars branch November 13, 2024 00:24
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