mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
synchronize typeCacheChanged() method
This commit is contained in:
parent
7dae0c0ca3
commit
ce1679aa17
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ public class TypeCacheManager implements ITypeCacheChangedListener {
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.browser.ITypeCacheChangedListener#typeCacheChanged(org.eclipse.core.resources.IProject)
|
||||
*/
|
||||
public void typeCacheChanged(final IProject project) {
|
||||
public synchronized void typeCacheChanged(final IProject project) {
|
||||
// clone so that a listener cannot have a side-effect on this list when being notified
|
||||
ArrayList listeners;
|
||||
synchronized(fChangeListeners) {
|
||||
|
|
Loading…
Add table
Reference in a new issue