From 64f1d0b5d96d245272e1fd5f42803dabe614d1a1 Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Thu, 15 Jun 2017 10:54:50 -0400 Subject: [PATCH] Fix deadlock on startup. Never use syncExec. Change-Id: I841045d56dc4a7446854282db6d74809629952a6 --- .../launchbar/ui/controls/internal/LaunchBarControl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.eclipse.launchbar.ui.controls/src/org/eclipse/launchbar/ui/controls/internal/LaunchBarControl.java b/bundles/org.eclipse.launchbar.ui.controls/src/org/eclipse/launchbar/ui/controls/internal/LaunchBarControl.java index f096bfd15c9..960ae5fdf4d 100644 --- a/bundles/org.eclipse.launchbar.ui.controls/src/org/eclipse/launchbar/ui/controls/internal/LaunchBarControl.java +++ b/bundles/org.eclipse.launchbar.ui.controls/src/org/eclipse/launchbar/ui/controls/internal/LaunchBarControl.java @@ -182,7 +182,7 @@ public class LaunchBarControl implements ILaunchBarListener { @Override public void activeLaunchDescriptorChanged(ILaunchDescriptor descriptor) { - container.getDisplay().syncExec(() -> { + container.getDisplay().asyncExec(() -> { if (configSelector != null) { configSelector.setDelayedSelection(descriptor, SELECTION_DELAY); }