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

Fix concurrent accesses to the async refreshIfNeeded function #173

Merged
merged 5 commits into from
Feb 20, 2024

Conversation

mikenachbaur-okta
Copy link
Contributor

Current unit tests thoroughly tests concurrent accesses to refreshIfNeeded when using completion blocks, but neglects to test the Swift Concurrency equivalents to the same degree. Fortunately issue #170 has highlighted problems where this behavior doesn't work properly when using async / await, which results in a crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants