mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-21 15:23:59 +02:00
fixed bug # 49851
This commit is contained in:
parent
b2037c5e73
commit
d9c8a82d89
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
|||
2004-1-5 David Inglis
|
||||
|
||||
PR 49851
|
||||
Fixed deadlock when binary parser was changed while binary runner was running
|
||||
for that project.
|
||||
|
||||
* model/org/eclipse/cdt/internal/core/model/CModelManager.java
|
||||
|
||||
|
||||
2003-12-16 Alain Magloire
|
||||
|
||||
PR 48921.
|
||||
|
|
|
@ -342,7 +342,7 @@ public class CModelManager implements IResourceChangeListener {
|
|||
CProjectInfo info = (CProjectInfo)peekAtInfo(cproject);
|
||||
if (info != null && info.vBin != null) {
|
||||
if (peekAtInfo(info.vBin) != null) {
|
||||
IBinary[] bins = info.vBin.getBinaries();
|
||||
ICElement[] bins = info.getChildren();
|
||||
for (int i = 0; i < bins.length; i++) {
|
||||
if (celement.getPath().isPrefixOf(bins[i].getPath())) {
|
||||
CElementDelta delta = new CElementDelta(getCModel());
|
||||
|
@ -355,7 +355,7 @@ public class CModelManager implements IResourceChangeListener {
|
|||
}
|
||||
if (info != null && info.vLib != null) {
|
||||
if (peekAtInfo(info.vLib) != null) {
|
||||
IArchive[] ars = info.vLib.getArchives();
|
||||
ICElement[] ars = info.vLib.getChildren();
|
||||
for (int i = 0; i < ars.length; i++) {
|
||||
if (celement.getPath().isPrefixOf(ars[i].getPath())) {
|
||||
CElementDelta delta = new CElementDelta(getCModel());
|
||||
|
|
Loading…
Add table
Reference in a new issue