mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixed a race condition in setting up path canonicalization strategy.
This commit is contained in:
parent
78b7d65cf8
commit
3bdad542ef
1 changed files with 3 additions and 0 deletions
|
@ -211,6 +211,9 @@ public class PDOMManager implements IWritableIndexManager, IListener {
|
|||
|
||||
public Job startup() {
|
||||
fInShutDown= false;
|
||||
// Set path canonicalization strategy early on to avoid a race condition.
|
||||
updatePathCanonicalizationStrategy();
|
||||
|
||||
Job postStartupJob= new Job(CCorePlugin.getResourceString("CCorePlugin.startupJob")) { //$NON-NLS-1$
|
||||
@Override
|
||||
protected IStatus run(IProgressMonitor monitor) {
|
||||
|
|
Loading…
Add table
Reference in a new issue