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 a rare crash with a concurrent modification of a set #12002

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

AverageGithub
Copy link
Contributor

@AverageGithub AverageGithub commented Jan 22, 2025

This PR attempts to fix an issue introduced in CraftBukkit 5 years ago in fcfcbd3 (how did noone catch this??)

Relevant part of a crash report: https://pastes.dev/cKg6BswffG (1.21.3 server - but it does not matter here)

@AverageGithub AverageGithub requested a review from a team as a code owner January 22, 2025 18:34
Copy link
Contributor

@lynxplay lynxplay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beyond the import, LGTM.

@AverageGithub
Copy link
Contributor Author

I did not add an import because an other fully qualified import already exists in the file and I didn't want to touch that. Should I remove that aswell?

@lynxplay
Copy link
Contributor

Just leave the other FQN alone, we will be doing a cleanup of these files soonish once we have checkstyle ready on our repos.

But new code can already follow that 👍

@electronicboy electronicboy merged commit 30046e0 into PaperMC:main Jan 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

4 participants