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

#91 fix static matchers, work with static Patterns only #93

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

fra-orolo
Copy link
Contributor

Matchers are stateful, static fields are accessed in all Threads, there is no way to make parsing threadsafe, even mit multiple SVGUniverse objects.
After the change, every thread will create own Matcher objects (stateful) from the static compiled Patterns.

Matchers are stateful, static fields are accessed in all Threads, there is no way to make parsing threadsafe, even mit multiple SVGUniverse objects.
@blackears blackears merged commit 6c04ebe into blackears:master Feb 2, 2022
@blackears
Copy link
Owner

Thanks for catching this.

@colbymorrison colbymorrison mentioned this pull request Oct 5, 2022
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