mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 296115 Redux: Use volatile fNewCProjectDescriptionManager as a memory barrier
This commit is contained in:
parent
82e545c968
commit
47a3ea5119
1 changed files with 3 additions and 2 deletions
|
@ -308,8 +308,9 @@ public class CCorePlugin extends Plugin {
|
|||
ResourceLookup.startup();
|
||||
|
||||
// new project model needs to register the resource listener first.
|
||||
fNewCProjectDescriptionManager= CProjectDescriptionManager.getInstance();
|
||||
final Job post1= fNewCProjectDescriptionManager.startup();
|
||||
CProjectDescriptionManager descManager = CProjectDescriptionManager.getInstance();
|
||||
final Job post1 = descManager.startup();
|
||||
fNewCProjectDescriptionManager = descManager;
|
||||
|
||||
fPathEntryVariableManager = new CdtVarPathEntryVariableManager();
|
||||
fPathEntryVariableManager.startup();
|
||||
|
|
Loading…
Add table
Reference in a new issue