Skip to content

Commit 4c0f673

Browse files
committed
fix: call updateSummary async
1 parent cb67cee commit 4c0f673

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugin/src/main/java/io/snyk/languageserver/protocolextension/SnykExtendedLanguageClient.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,10 @@ public void folderConfig(FolderConfigsParam folderConfigParam) {
436436

437437
@JsonNotification(value = LsConstants.SNYK_SCAN_SUMMARY)
438438
public void updateSummaryPanel(SummaryPanelParams summary) {
439-
openToolView();
440-
this.toolView.updateSummary(summary.getSummary());
439+
CompletableFuture.runAsync(() -> {
440+
openToolView();
441+
this.toolView.updateSummary(summary.getSummary());
442+
});
441443
}
442444

443445
@Override

0 commit comments

Comments
 (0)