Add an await where appropriate

This commit is contained in:
Andrew Dupont 2023-12-12 17:53:12 -08:00
parent 812ab75acf
commit 6a5a840b57

View File

@ -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