Changes between Initial Version and Version 1 of Ticket #7980, comment 7
- Timestamp:
- 2012-08-24T19:26:25+02:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7980, comment 7
initial v1 1 Some of our listener collections are non optimal as they keep strong references to the listeners (for example, the selection listeners in DataSet). These collections should use weak references, for example with a CopyOnWriteArray Set<WeakReference<Listener>>, like what is done in Main with projection change listeners.1 Some of our listener collections are non optimal as they keep strong references to the listeners (for example, the selection listeners in DataSet). These collections should use weak references, for example with a CopyOnWriteArrayList<WeakReference<Listener>>, like what is done in Main with projection change listeners.