If a subscribe callback subscribes to the same event, ConcurrentModificationException is thrown
Closed this issue · 2 comments
etanhatch commented
Since the list of callbacks is being iterated during the subscribe() callback, a new subscribe inside the call hierarchy of the callback calls add() to the same list. Therefore a ConcurrentModificationException is thrown.
Rasalexman commented
@etanhatch thanks for adding this issue. I will fix it in next releases
Rasalexman commented
@etanhatch i fixed this issue in release version 1.1.6