When clearing the items of a TableView, the "currentObservableValue" property of the TableCell instances still hold references to the items that were in the cells previously.
Event thought this might not be considered as a memory leak, it would be nice if the property "currentObservableValue" could be set to "null" for empty cell.
This could be done by overriding the Cell#updateItem(T item, boolean parameter) int TableCell and set the "currentObservableValue" to null (after removing any listeners) if the empty parameter is true.
Event thought this might not be considered as a memory leak, it would be nice if the property "currentObservableValue" could be set to "null" for empty cell.
This could be done by overriding the Cell#updateItem(T item, boolean parameter) int TableCell and set the "currentObservableValue" to null (after removing any listeners) if the empty parameter is true.