Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ufk-dev] Stale reference in List and Table models

Hi guys,

Both ObservableListModel and ObservableListTableModel create a
collection of IObservableMaps in the constructor.
Logically this collection is bound to the life-cycle of the data list
(IObservableList - the first argument in the constructor).
If the provided list is disposed, the IObservableMaps will be the
listeners to the  list element property change while holding the
reference to the "stale" list. Any change in a list element will raise
AssertionFailedException.

I believe the dispose() method is missed in these two models which
must dispose the collection of IObservableMaps.
Any thoughts?

Thanks.


Back to the top