mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
no children if disposed (EA-101172)
This commit is contained in:
+1
@@ -46,6 +46,7 @@ public class ProjectViewProjectNode extends AbstractProjectNode {
|
||||
@Override
|
||||
@NotNull
|
||||
public Collection<AbstractTreeNode> getChildren() {
|
||||
if (myProject.isDisposed()) return Collections.emptyList();
|
||||
List<VirtualFile> topLevelContentRoots = ProjectViewDirectoryHelper.getInstance(myProject).getTopLevelRoots();
|
||||
|
||||
Set<Module> modules = new LinkedHashSet<>(topLevelContentRoots.size());
|
||||
|
||||
Reference in New Issue
Block a user