commit | a79fae269b3aae759e8e03a70022a79be7b4d08f | [log] [tgz] |
---|---|---|
author | cbridgha <cbridgha> | Wed Feb 06 21:36:02 2008 +0000 |
committer | cbridgha <cbridgha> | Wed Feb 06 21:36:02 2008 +0000 |
tree | 045429623ee9da8b02e0b404ebeea321064dc2a9 | |
parent | 8d8c751c6f3e62ec9d04891c9237630eb3983669 [diff] |
[206463] threading issues droppping to HEAD
diff --git a/plugins/org.eclipse.wst.common.emfworkbench.integration/src/org/eclipse/wst/common/internal/emfworkbench/EditModelLeastUsedCache.java b/plugins/org.eclipse.wst.common.emfworkbench.integration/src/org/eclipse/wst/common/internal/emfworkbench/EditModelLeastUsedCache.java index bda19dc..a53bf23 100644 --- a/plugins/org.eclipse.wst.common.emfworkbench.integration/src/org/eclipse/wst/common/internal/emfworkbench/EditModelLeastUsedCache.java +++ b/plugins/org.eclipse.wst.common.emfworkbench.integration/src/org/eclipse/wst/common/internal/emfworkbench/EditModelLeastUsedCache.java
@@ -85,8 +85,8 @@ } } if (shouldAccess) { - editModel.access(this); synchronized (lru) { + editModel.access(this); lru.add(editModel); } } @@ -107,9 +107,9 @@ lru.remove(model); } } - } if (model != null) model.releaseAccess(this); + } } /**