aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/index.ts
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-05 20:39:47 +0000
committerVeetaha <[email protected]>2020-02-05 20:39:47 +0000
commit8153b60e1d8abdcefbf6c7c9657f1ce65a216d7a (patch)
tree68f445e973268dffce86c66cfc396c9221bf4ca3 /editors/code/src/commands/index.ts
parent8d0f7da2f5f2ae1dc5711005f08fde0007da165b (diff)
vscode: eliminate floating promises and insane amount of resource handle leaks
Diffstat (limited to 'editors/code/src/commands/index.ts')
-rw-r--r--editors/code/src/commands/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts
index 5a4c1df5e..aee969432 100644
--- a/editors/code/src/commands/index.ts
+++ b/editors/code/src/commands/index.ts
@@ -35,7 +35,7 @@ export function showReferences(ctx: Ctx): Cmd {
35 35
36export function applySourceChange(ctx: Ctx): Cmd { 36export function applySourceChange(ctx: Ctx): Cmd {
37 return async (change: sourceChange.SourceChange) => { 37 return async (change: sourceChange.SourceChange) => {
38 sourceChange.applySourceChange(ctx, change); 38 await sourceChange.applySourceChange(ctx, change);
39 }; 39 };
40} 40}
41 41