Skip to content

Commit 72ec054

Browse files
committed
Load sdk reference book data with runLater, fixes #7089
1 parent dc34357 commit 72ec054

File tree

1 file changed

+1
-1
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-sdk-reference-book/src/main/java/com/microsoft/azure/toolkit/intellij/azuresdk/referencebook

1 file changed

+1
-1
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-sdk-reference-book/src/main/java/com/microsoft/azure/toolkit/intellij/azuresdk/referencebook/AzureSdkTreePanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private void loadData(final Map<String, List<AzureSdkCategoryEntity>> categoryTo
187187
.stream().sorted(Comparator.comparing(AzureSdkCategoryEntity::getServiceName))
188188
.forEach(categoryService -> {
189189
final AzureSdkServiceEntity service = serviceMap.get(getServiceKeyByName(categoryService.getServiceName()));
190-
this.loadServiceData(service, categoryService, categoryNode, filters);
190+
AzureTaskManager.getInstance().runLater(() -> this.loadServiceData(service, categoryService, categoryNode, filters));
191191
});
192192
if (ArrayUtils.isEmpty(filters) || categoryMatched || categoryNode.getChildCount() > 0) {
193193
this.model.insertNodeInto(categoryNode, root, root.getChildCount());

0 commit comments

Comments
 (0)