vscode: eliminate floating promises and insane amount of resource handle leaks

This commit is contained in:
Veetaha 2020-02-05 22:39:47 +02:00
parent 8d0f7da2f5
commit 8153b60e1d
8 changed files with 34 additions and 19 deletions

View file

@ -35,7 +35,7 @@ export function showReferences(ctx: Ctx): Cmd {
export function applySourceChange(ctx: Ctx): Cmd {
return async (change: sourceChange.SourceChange) => {
sourceChange.applySourceChange(ctx, change);
await sourceChange.applySourceChange(ctx, change);
};
}