1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-19 14:15:50 +02:00

Fix deadlock on startup. Never use syncExec.

Change-Id: I841045d56dc4a7446854282db6d74809629952a6
This commit is contained in:
Doug Schaefer 2017-06-15 10:54:50 -04:00
parent accbe9abc4
commit 64f1d0b5d9

View file

@ -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);
}