commit | b084167ad23de309ada618bef6dc4f8a0f7fcf40 | [log] [tgz] |
---|---|---|
author | Kevin Barnes <krbarnes> | Wed Mar 21 22:13:50 2007 +0000 |
committer | Kevin Barnes <krbarnes> | Wed Mar 21 22:13:50 2007 +0000 |
tree | 8b799b17a5fe502ce9a9353026be61b4af0ed7f9 | |
parent | c01f0a754c03f03f4e372b4e2581c8772fefd895 [diff] |
fixed leak
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Table.java index 1f86464..ecc439b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Table.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Table.java
@@ -679,7 +679,9 @@ void destroyItem (TableItem item) { int items = OS.ItemsControl_Items (handle); + ignoreSelection = true; OS.ItemCollection_Remove (items, item.handle); + ignoreSelection = false; int count = OS.ItemCollection_Count (items); OS.GCHandle_Free (items); if (itemCount == count) error (SWT.ERROR_ITEM_NOT_REMOVED);