changeset 6477:102deeb4dcaa

RT-36117: set cell skin to null after skin is disposed.
author David Grieve<david.grieve@oracle.com>
date Thu, 13 Mar 2014 21:50:27 -0400
parents e6a0305158da
children 8ca3ec4ca878
files modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableRowSkinBase.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableRowSkinBase.java	Thu Mar 13 21:50:25 2014 -0400
+++ b/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableRowSkinBase.java	Thu Mar 13 21:50:27 2014 -0400
@@ -624,6 +624,7 @@
                 R cell = cellsIter.next();
                 cell.updateIndex(-1);
                 cell.getSkin().dispose();
+                cell.setSkin(null);
             }
             cellsMap.clear();
         }