diff options
author | Silenio Quarti <silenio> | 2004-05-28 15:32:12 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2004-05-28 15:32:12 +0000 |
commit | 7d76cc622a15faf17862e315d91aaa4dbfe8f148 (patch) | |
tree | b4c89cc4a6c6b1d94c721ef272d21f3a3a8e701f | |
parent | 43c956ef514bf7ec3a97ee50ba5a6bb142ded1b7 (diff) | |
download | eclipse.platform.swt-7d76cc622a15faf17862e315d91aaa4dbfe8f148.tar.gz eclipse.platform.swt-7d76cc622a15faf17862e315d91aaa4dbfe8f148.tar.xz eclipse.platform.swt-7d76cc622a15faf17862e315d91aaa4dbfe8f148.zip |
*** empty log message ***
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java | 2 |
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 00c9dfb6de..d754274573 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 @@ -2809,6 +2809,8 @@ boolean runEnterExit () { if (mouseHoverID != 0) OS.RemoveEventLoopTimer (mouseHoverID); mouseHoverID = 0; } + // widget could be disposed at this point + if (control.isDisposed()) control = null; if ((currentControl = control) != null) { eventSent = true; int chord = OS.GetCurrentEventButtonState (); |