mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-15 05:41:51 +08:00
Fixed ConcurrentModificationException #683
This commit is contained in:
parent
497b37aa3b
commit
12073e9732
@ -160,7 +160,7 @@ public class SessionAccordion extends AbstractAccordion {
|
||||
sessions.sort(new DateHolderRecentComparator());
|
||||
|
||||
int i = 0;
|
||||
for (Session session : sessions) {
|
||||
for (Session session : new ArrayList<>(sessions)) {
|
||||
if (i >= maxSessions) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user