mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Add an await
where appropriate
This commit is contained in:
parent
812ab75acf
commit
6a5a840b57
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user