issue of "Collection<> was mutated while being enumerated" has fixed#630
issue of "Collection<> was mutated while being enumerated" has fixed#630AlifKuan wants to merge 1 commit intorobbiehanson:masterfrom
Conversation
|
I believe this patch must be rejected as this change allows for duplicate presence items to sent back the client... What a fix for this issue should entail is a test items more than zero prior to the removeallobjects. Sent from my iPhone
|
|
This could be more of an issue related to the number of threads being dispatched and no synchronized behaviour for the collection. Sent from my iPhone
|
|
@adozenlines I'm not sure how to address the number of threads dispatched, is this something you'd be able to help with please? According to crashlitics reports -- this particular code definitely is causing major number of crashes to our application in production. And we do want to address the issue properly and the best possible way. So any help addressing this issue would be hugely appreciated. |
Hi
I found one crash while using xmppframework 3.6.6
I think this issue has casued because it tries to delete "earlyPresenceElements" while being enumerated
That's why I modified code and updated the fork
Please check it and let me know your idea
Regards
Alif Kuan