Skip to content

Commit

Permalink
Add an await where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Jan 3, 2024
1 parent 812ab75 commit 6a5a840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/symbols-view/lib/file-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class FileView extends SymbolsView {
await Promise.race([Promise.allSettled(tasks), timeout(this.timeoutMs)]);
}

this.updateView({ loadingMessage: null });
await this.updateView({ loadingMessage: null });

if (signal.aborted) {
// This means the user cancelled the task. No cleanup necessary; the
Expand Down

0 comments on commit 6a5a840

Please sign in to comment.