diff --git a/src/runner/runner.ts b/src/runner/runner.ts index e0d8ea1a..a10277c4 100644 --- a/src/runner/runner.ts +++ b/src/runner/runner.ts @@ -32,6 +32,8 @@ export class TestRunner extends vscode.Disposable { api.clearListeners() this.testRun?.end() this.testRun = undefined + this.testRunDefer?.resolve() + this.testRunDefer = undefined this.simpleTestRunRequest = undefined this.continuousRequests.clear() this.api.cancelRun()