-
-
Notifications
You must be signed in to change notification settings - Fork 735
feat: Make ParseObject availableKeys Set a thread safe synchronizedSet #795
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
feat: Make ParseObject availableKeys Set a thread safe synchronizedSet #795
Conversation
Codecov Report
@@ Coverage Diff @@
## master #795 +/- ##
=========================================
Coverage 53.35% 53.35%
Complexity 1749 1749
=========================================
Files 132 132
Lines 10268 10268
Branches 1426 1426
=========================================
Hits 5478 5478
Misses 4337 4337
Partials 453 453
Continue to review full report at Codecov.
|
Parse SDK: 1.17.3 I think as a result of this change we are now seeing a new crash:
Possible issues:
Are we relying on a side effect that someone accidentally would synchronize it for us? |
Hello. I have the same however only on devices with Android 4.x. In no other version do I have problems. |
ParseObject gives a ConcurrentModificationException when concurrently modifying the availableKeys HashSet. By making availableKeys synchronized set we can avoid these kind of exceptions.
Looks like there are some open issues that can be related to this -> #154