diff --git a/src/client/api/pythonApi.ts b/src/client/api/pythonApi.ts index 332186fbe7b..0a8e0d470a4 100644 --- a/src/client/api/pythonApi.ts +++ b/src/client/api/pythonApi.ts @@ -74,6 +74,7 @@ export class PythonApiProvider implements IPythonApiProvider { this.disposables ); } + this.disposables.push(this.didActivatePython); } public getApi(): Promise {