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: synchronize questStepPanelList #1866

Merged
merged 3 commits into from
Nov 24, 2024

Conversation

pajlada
Copy link
Contributor

@pajlada pajlada commented Nov 24, 2024

No description provided.

Since we create/add to it from AWT thread but have to iterate & access its stuff from client thread, this seems like a
reasonable solution
Before this, we kept adding and adding more panels, making the iteration over steps slower and slower
This is automatically safe for iterations (which Collections.synchronizedList is not)
	and it makes more sense for our use case given the rarity of our writes
@Zoinkwiz Zoinkwiz merged commit 6b32632 into Zoinkwiz:master Nov 24, 2024
1 check 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