Skip to content

Commit

Permalink
Correct initial value of IExportedKernelService.status (#13010)
Browse files Browse the repository at this point in the history
  • Loading branch information
r3m0t authored Mar 7, 2023
1 parent 5cc1ac7 commit b869c07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/standalone/api/kernelApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class JupyterKernelService implements IExportedKernelService {
@inject(IControllerRegistration) private readonly controllerRegistration: IControllerRegistration,
@inject(IServiceContainer) private serviceContainer: IServiceContainer
) {
this._status = this.kernelFinder.status;
this.kernelFinder.onDidChangeStatus(
() => {
this._status = this.kernelFinder.status;
Expand Down

0 comments on commit b869c07

Please sign in to comment.