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

Created ThreadSafeOrderedDictionary Wrapper #860

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rspoon3
Copy link

@Rspoon3 Rspoon3 commented Nov 7, 2024

🔹 Jira Ticket(s)

✏️ Description

Please provide a brief description of what this pull request does.

InAppManager can crash as stated in this issue due to OrderedDictionary not being thread safe. This change introduces ThreadSafeOrderedDictionary which is a wrapper around it to ensure thread safety. To minimize changes I have introduced it only where needed. In the future it would be a good idea to look at making OrderedDictionary safe by itself.

Tests for concurrency safety have also been added.

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.

1 participant