Concurrency problem (again)

Ive written some new netcode and again, I get weird concurrencymodificationexceptions when using LinkedLists… Can it perhaps be that I am doing a i.remove() while iterating through the list?

Iterator.remove() is safe to call while performing at iteration (that’s the reason it exists), so that shouldn’t be it.

Do you by chance have another thread playing with the list?

Thanks for looking, I solved it. It was another collection that was being modified not the one I looked at originally! :slight_smile: