From 1481d038df11ea33db838acc3929f755c52270f8 Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Wed, 17 Oct 2012 12:49:32 -0400 Subject: Bug 392048 - jdt.text.tests and jdt.ui.tests and others crash on Mac --- .../Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java index 0538b8c144..1186df77ec 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java @@ -372,9 +372,9 @@ NSObject createString(int index) { } void dealloc (long /*int*/ id, long /*int*/ sel) { - super.dealloc(id, sel); OS.object_setInstanceVariable(id, Display.SWT_OBJECT, 0); super.destroyJNIRef(); + super.dealloc(id, sel); } void deregister () { -- cgit