summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt
diff options
context:
space:
mode:
authorSilenio Quarti <silenio_quarti@ca.ibm.com>2012-10-17 12:49:32 -0400
committerSilenio Quarti <silenio_quarti@ca.ibm.com>2012-10-17 12:49:32 -0400
commit1481d038df11ea33db838acc3929f755c52270f8 (patch)
treeb00d323c3693109be42e5cddf68d7e4bdd225fdb /bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt
parent52f6568933f762a24be92f34ae54e8a427e9e74c (diff)
downloadeclipse.platform.swt-1481d038df11ea33db838acc3929f755c52270f8.tar.gz
eclipse.platform.swt-1481d038df11ea33db838acc3929f755c52270f8.tar.xz
eclipse.platform.swt-1481d038df11ea33db838acc3929f755c52270f8.zip
Bug 392048 - jdt.text.tests and jdt.ui.tests and others crash on Mac
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java2
1 files changed, 1 insertions, 1 deletions
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 () {