-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Potential data race in Storage method #13369
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
@jesus-mg-ios Thanks for the report. Would you check if #13381 fixes your test case? |
Nevermind. |
Maybe a dispatch queue async with a barrier flag could do the trick. |
Thanks. First, we'll see if we can address by migrating those internal APIs to Swift concurrency sometime in the next few weeks. |
Description
Reproducing the issue
Define a storage instance and call
storage.reference(forURL: String)
from multiple threads and sometimes the warn in Xcode happened.Firebase SDK Version
10.25.0
Xcode Version
15.2
Installation Method
Swift Package Manager
Firebase Product(s)
Storage
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: