Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-03-24 03:10:53 +0000
committerMichael Valenta2004-03-24 03:10:53 +0000
commit13976c371d2cfc12c0e60308eca6bd6c96266df7 (patch)
treeb002e43488da47c0668954edd27f2686a995f64f
parent3a83f1226d1de6f55e38d40c5ee54d00dba74c1b (diff)
downloadeclipse.platform.team-13976c371d2cfc12c0e60308eca6bd6c96266df7.tar.gz
eclipse.platform.team-13976c371d2cfc12c0e60308eca6bd6c96266df7.tar.xz
eclipse.platform.team-13976c371d2cfc12c0e60308eca6bd6c96266df7.zip
Fixed deadlock in tests
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java
index 687ff2d7f..808dfb75f 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeModelProvider.java
@@ -616,7 +616,7 @@ public abstract class SynchronizeModelProvider implements ISyncInfoSetChangeList
private void asyncExec(final Runnable r) {
final Control ctrl = getViewer().getControl();
if (ctrl != null && !ctrl.isDisposed()) {
- ctrl.getDisplay().syncExec(new Runnable() {
+ ctrl.getDisplay().asyncExec(new Runnable() {
public void run() {
if (!ctrl.isDisposed()) {
BusyIndicator.showWhile(ctrl.getDisplay(), r);

Back to the top