Persistency: Iterate only over copied listener lists
This allows listeners to deregister themselves. Otherwise, a ConcurrentModificationException will occut. This change ensures that the set of listeners remains the same while notifying all registered ones. Issue-Ref: 3993 Issue-Url: https://af3-developer.fortiss.org/issues/3993 Signed-off-by:Alexander Diewald <diewald@fortiss.org>
Showing
- org.fortiss.tooling.kernel/src/org/fortiss/tooling/kernel/internal/.ratings 1 addition, 1 deletion...g.kernel/src/org/fortiss/tooling/kernel/internal/.ratings
- org.fortiss.tooling.kernel/src/org/fortiss/tooling/kernel/internal/PersistencyService.java 3 additions, 3 deletions...g/fortiss/tooling/kernel/internal/PersistencyService.java
Loading