207613 [Leopard] Progress dialog does not properly close on Leopard
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java
index 5074ed5..8da3a67 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java
@@ -38,6 +38,9 @@
Object messageLock = new Object ();
Thread syncThread;
+ //TEMPORARY CODE
+ static final boolean IS_CARBON = "carbon".equals (SWT.getPlatform ());
+
/**
* Constructs a new instance of this class.
*
@@ -75,8 +78,11 @@
*/
protected void asyncExec (Runnable runnable) {
if (runnable == null) {
- display.wake ();
- return;
+ //TEMPORARY CODE
+ if (!IS_CARBON) {
+ display.wake ();
+ return;
+ }
}
addLast (new RunnableLock (runnable));
}