fix(Tree): add isDumb() return in ReadAction for not must
This commit is contained in:
@@ -63,6 +63,9 @@ public class Tree implements ProjectViewNodeDecorator {
|
||||
}
|
||||
DumbService.getInstance(project).runReadActionInSmartMode(() ->
|
||||
ApplicationManager.getApplication().runReadAction(() -> {
|
||||
if (DumbService.getInstance(project).isDumb()) {
|
||||
return;
|
||||
}
|
||||
@Nullable String doc = treeDoc(node, project);
|
||||
addText(data, doc);
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user