More dangling promise cleanup (#8518)

* More dangling promise cleanup

* return void

* Function to async

* Fix a couple missed promises
This commit is contained in:
Charles Gagnon
2019-12-02 15:54:33 -08:00
committed by GitHub
parent 8cc60fde90
commit 4f8ced1f6b
8 changed files with 81 additions and 90 deletions

View File

@@ -97,7 +97,7 @@ export class TaskHistoryView extends Disposable {
}
private updateTask(task: TaskNode): void {
this._tree.refresh(task);
this._tree.refresh(task).catch(err => errors.onUnexpectedError(err));
}
public refreshTree(): void {