Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine2006-01-18 19:15:28 +0000
committerVeronika Irvine2006-01-18 19:15:28 +0000
commitf0b0b4dcf34037cc752de80da3f845a703131b2e (patch)
treede1f793a6fb3e8bc96f2f62402851406723b05c2
parentf7dc747b58d052176bda60e5b827554549108f3b (diff)
downloadeclipse.platform.swt-R3_1_maintenance.tar.gz
eclipse.platform.swt-R3_1_maintenance.tar.xz
eclipse.platform.swt-R3_1_maintenance.zip
122428 - Performance on OS X still degrades on 10.4.3 - dispose OS timerv3139bR3_1_maintenance
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
index 09c8a42ba8..2b6efb5b09 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
@@ -2584,6 +2584,7 @@ int mouseProc (int nextHandler, int theEvent, int userData) {
}
int mouseHoverProc (int id, int handle) {
+ OS.RemoveEventLoopTimer (id);
mouseHoverID = 0;
mouseMoved = false;
if (currentControl == null) return 0;
@@ -3601,6 +3602,7 @@ public void timerExec (int milliseconds, Runnable runnable) {
}
int timerProc (int id, int index) {
+ OS.RemoveEventLoopTimer (id);
if (timerList == null) return 0;
if (0 <= index && index < timerList.length) {
if (allowTimers) {

Back to the top