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 collection modification issue #62

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

wenxi-zeng
Copy link
Contributor

@wenxi-zeng wenxi-zeng commented Sep 15, 2023

attempt to address issue mentioned in #61 caused by concurrent access of collection (dictionary and list)

  • replace Dictionary with ConcurrentDictionary
  • replace List with ConcurrentList
  • update Serialization.NET to latest that makes JsonObject and JsonArray thread safe while enumerating
  • update Unity LifecyclePlugin sample to use ConcurrentList to be thread safe on read.

@wenxi-zeng wenxi-zeng merged commit eca3213 into main Sep 18, 2023
4 checks passed
@wenxi-zeng wenxi-zeng deleted the wenxi/fix-concurrent-collection-modified-issue branch September 18, 2023 15:04
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.

None yet

2 participants