Skip to content

Commit 024ac07

Browse files
authored
Merge pull request #2335 from microsoft/connor4312/revert-bad-tas
Revert "chore: update tas-client for proper disposal (#2332)"
2 parents 8aaee57 + f460326 commit 024ac07

3 files changed

Lines changed: 20 additions & 22 deletions

File tree

package-lock.json

Lines changed: 15 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"signale": "^1.4.0",
8181
"source-map-support": "^0.5.21",
8282
"to-absolute-glob": "^3.0.0",
83-
"vscode-tas-client": "^0.1.86",
83+
"vscode-tas-client": "^0.1.84",
8484
"ws": "^8.17.1"
8585
},
8686
"devDependencies": {

src/telemetry/vscodeExperimentationService.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ export class VSCodeExperimentationService implements IJsDebugExpService, IDispos
5252
}
5353

5454
dispose(): void {
55-
this.service?.dispose();
55+
// See microsoft/tas-client#74
56+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
57+
const polling = (this.service as any)?.pollingService;
58+
polling?.StopPolling();
5659
}
5760

5861
/**

0 commit comments

Comments
 (0)