mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-22 15:53:58 +02:00
Also release the BinaryContainer of the project
This commit is contained in:
parent
b0182c5aa6
commit
bbb5b11bcf
1 changed files with 11 additions and 0 deletions
|
@ -319,6 +319,17 @@ public class CModelManager implements IResourceChangeListener {
|
||||||
for (int i = 0; i < children.length; i++) {
|
for (int i = 0; i < children.length; i++) {
|
||||||
releaseCElement(children[i]);
|
releaseCElement(children[i]);
|
||||||
}
|
}
|
||||||
|
// Make sure we destroy the BinaryContainer and ArchiveContainer
|
||||||
|
// Since they are not part of the children.
|
||||||
|
if (info instanceof CProjectInfo) {
|
||||||
|
CProjectInfo pinfo = (CProjectInfo) info;
|
||||||
|
if (pinfo.vBin != null) {
|
||||||
|
releaseCElement(pinfo.vBin);
|
||||||
|
}
|
||||||
|
if (pinfo.vLib != null) {
|
||||||
|
releaseCElement(pinfo.vLib);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue