Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

* [android] fix the ConcurrentModificationException #23

Conversation

misakuo
Copy link
Member

@misakuo misakuo commented Mar 3, 2017

The exception:
粘贴图片.png

Is due to one thread to modify the ArrayList while another thread is iterating over it, replacing the ArrayList with CopyToWriteArrayList should be able to solve it

@misakuo
Copy link
Member Author

misakuo commented Mar 3, 2017

@sospartan review please

@weex-bot
Copy link

weex-bot commented Mar 4, 2017

1 Message
📖 Executed 53 tests, with 0 failures (0 unexpected) in 61.703 (62.071) seconds

Generated by 🚫 danger

@sospartan
Copy link
Contributor

This data should only be access by JS thread, u should figure that out.

Copy link
Contributor

@sospartan sospartan left a comment

Choose a reason for hiding this comment

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

This‘s still not make sense。

@misakuo
Copy link
Member Author

misakuo commented Mar 6, 2017

looks like the inspector's problem, close this pr

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants