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

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.

@evantk91 evantk91 changed the base branch from master to feature/threadSafeOrderedDictionaryWrapper November 20, 2024 20:48
@evantk91
Copy link
Collaborator

merging into feature branch for review.

@evantk91 evantk91 merged commit 3c18793 into Iterable:feature/threadSafeOrderedDictionaryWrapper Nov 20, 2024
0 of 2 checks passed
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.

2 participants