Skip to content

fix ConcurrentModificationException in async command sending#13626

Open
Gerrygames wants to merge 1 commit intoPaperMC:mainfrom
Gerrygames:fix/async-command-sending
Open

fix ConcurrentModificationException in async command sending#13626
Gerrygames wants to merge 1 commit intoPaperMC:mainfrom
Gerrygames:fix/async-command-sending

Conversation

@Gerrygames
Copy link
Contributor

fixes ConcurrentModificationException in async command sending (issue #11101)
the CME was caused by map.put(this.dispatcher.getRoot(), rootCommandNode); iterating the roots children asynchronously for hash code calculation. this is fixed by copying the whole root node.

different approach to #13233 without locking/synchronization

@Gerrygames Gerrygames requested a review from a team as a code owner February 11, 2026 12:03
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

1 participant