Skip to content

Commit 0f0065b

Browse files
committed
Ensure DS auto start code is non-blocking (#10171)
* Perf fixes * Add news entry
1 parent dcc695c commit 0f0065b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

news/2 Fixes/10170.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Perf improvements to executing startup code for `Data Science` features when extension loads.

src/client/datascience/activation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class Activation implements IExtensionSingleActivationService {
3030
this.disposables.push(this.jupyterInterpreterService.onDidChangeInterpreter(this.onDidChangeInterpreter, this));
3131
// Warm up our selected interpreter for the extension
3232
this.jupyterInterpreterService.setInitialInterpreter().ignoreErrors();
33-
await this.contextService.activate();
33+
this.contextService.activate().ignoreErrors();
3434
}
3535

3636
private onDidOpenNotebookEditor(_: INotebookEditor) {

0 commit comments

Comments
 (0)