diff options
author | Veetaha <[email protected]> | 2020-02-05 20:39:47 +0000 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-02-05 20:39:47 +0000 |
commit | 8153b60e1d8abdcefbf6c7c9657f1ce65a216d7a (patch) | |
tree | 68f445e973268dffce86c66cfc396c9221bf4ca3 /editors/code/src/config.ts | |
parent | 8d0f7da2f5f2ae1dc5711005f08fde0007da165b (diff) |
vscode: eliminate floating promises and insane amount of resource handle leaks
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r-- | editors/code/src/config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index fc21c8813..585229ed0 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -45,7 +45,7 @@ export class Config { | |||
45 | private prevCargoWatchOptions: null | CargoWatchOptions = null; | 45 | private prevCargoWatchOptions: null | CargoWatchOptions = null; |
46 | 46 | ||
47 | constructor(ctx: vscode.ExtensionContext) { | 47 | constructor(ctx: vscode.ExtensionContext) { |
48 | vscode.workspace.onDidChangeConfiguration(_ => this.refresh(), ctx.subscriptions); | 48 | vscode.workspace.onDidChangeConfiguration(_ => this.refresh(), null, ctx.subscriptions); |
49 | this.refresh(); | 49 | this.refresh(); |
50 | } | 50 | } |
51 | 51 | ||