1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

fixed an intermittent refresh bug where not all executables would be displayed in the executables view.

This commit is contained in:
Warren Paul 2010-02-25 23:15:02 +00:00
parent 9cd64eb9fa
commit ec195f1471

View file

@ -104,7 +104,10 @@ public class ExecutablesManager extends PlatformObject implements IResourceChang
// store the list of executables for this project // store the list of executables for this project
synchronized (executablesMap) { synchronized (executablesMap) {
executablesMap.put(project, provider.getExecutables(project, subMonitor.newChild(1, SubMonitor.SUPPRESS_NONE))); List<Executable> executables = provider.getExecutables(project, subMonitor.newChild(1, SubMonitor.SUPPRESS_NONE));
if (!monitor.isCanceled()) {
executablesMap.put(project, executables);
}
} }
} }
} }