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

bugix/ protect internal data in multi thread env. #1133

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

jgraglia
Copy link
Contributor

Map is not thread safe but some mojo are marked thread safe.

This PR use a safe structure.

PS: null check added because ConcurrentHashMap does not accept null value (diff with HashMap)

Some mojo are declared thread safe.
@jgraglia
Copy link
Contributor Author

This PR is expected to fix #1018 (comment)

@slawekjaranowski slawekjaranowski added this to the next-release milestone Aug 29, 2024
@slawekjaranowski slawekjaranowski self-assigned this Sep 14, 2024
@slawekjaranowski slawekjaranowski merged commit 4222b66 into mojohaus:master Sep 14, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants