mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 296115 CConfigBasedDescManager & CPrjDescManager singleton refs should be volatile
This commit is contained in:
parent
214ac8648b
commit
82e545c968
2 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ public class CProjectDescriptionManager implements ICProjectDescriptionManager {
|
|||
/** Set of Listeners listening for Project Description Deltas */
|
||||
private Set<ListenerDescriptor> fListeners = new CopyOnWriteArraySet<ListenerDescriptor>();
|
||||
private Map<String, CConfigurationDescriptionCache> fPreferenceMap = new HashMap<String, CConfigurationDescriptionCache>();
|
||||
private CConfigBasedDescriptorManager fDescriptorManager;
|
||||
private volatile CConfigBasedDescriptorManager fDescriptorManager;
|
||||
private ResourceChangeHandler fRcChangeHandler;
|
||||
private CProjectDescriptionWorkspacePreferences fPreferences;
|
||||
private boolean fAllowEmptyCreatingDescription = true; // allowed by default
|
||||
|
|
|
@ -197,7 +197,7 @@ public class CCorePlugin extends Plugin {
|
|||
*/
|
||||
public CDTLogWriter cdtLog = null;
|
||||
|
||||
private CProjectDescriptionManager fNewCProjectDescriptionManager;
|
||||
private volatile CProjectDescriptionManager fNewCProjectDescriptionManager;
|
||||
|
||||
private CoreModel fCoreModel;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue