Reference held by currentObservableValue in empty TableCell

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P5
    • tbd
    • Affects Version/s: 8u45
    • Component/s: javafx

      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.

            Assignee:
            Unassigned
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: