-
Notifications
You must be signed in to change notification settings - Fork 21
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
Data Races in QNUserPropertiesManager #443
Comments
Hi, @Ralph1300 |
This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
@suriksarkisyan any news? Issue got closed automatically now. |
We reopened this issue. It's still in progress. We will try to fix it in the next release. And could you please give me some examples of usage of our properties code? |
We recently experienced some data races in the QNUserPropertiesManager class. We are using Xcode 15 and have the Thread Sanitizer activated for debug builds.
See the attached screenshot for an example. This is usually triggered right after the app start, where we call
Qonversion.initWithConfig()
from the main thread in the AppDelegate.As far as I can tell issues are related to
Both properties are read/written to on multiple occasions - sometimes
updatingCurrently
is wrapped in a synchronization block, but not always. ForsendingScheduled
this is missing completely.Thanks for looking into this, and let me know if you need more input!
The text was updated successfully, but these errors were encountered: