Avoids Concurrent Modification Exception

This commit is contained in:
Vitor Pamplona
2023-12-20 14:55:12 -05:00
parent 1f7fc236db
commit a22b6db130
@@ -275,8 +275,8 @@ class Relay(
}
fun resetEOSEStatuses() {
afterEOSEPerSubscription.forEach {
afterEOSEPerSubscription[it.key] = false
afterEOSEPerSubscription.keys.toList().forEach {
afterEOSEPerSubscription[it] = false
}
}