Skip to content

Commit 67e0294

Browse files
committed
Revert "fix(android): snapshot listeners before iterating to avoid ConcurrentModificationException"
This reverts commit 8529abb.
1 parent b224687 commit 67e0294

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/src/main/java/com/margelo/nitro/rive/BaseHybridViewModelPropertyImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class BaseHybridViewModelPropertyImpl<T> : BaseHybridViewModelProperty<T> {
3434
}
3535

3636
override fun onChanged(value: T) {
37-
listeners.values.toList().forEach { listener ->
37+
listeners.values.forEach { listener ->
3838
listener(value)
3939
}
4040
}

0 commit comments

Comments
 (0)