Skip to content

Commit

Permalink
Merge pull request #122941 from microsoft/roblou/fix122701
Browse files Browse the repository at this point in the history
Fix 122701
  • Loading branch information
roblourens committed May 4, 2021
2 parents 4fbe56e + 0ce0716 commit 206524c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditor
this.scopedContextKeyService = contextKeyService.createScoped(this._overlayContainer);
this.instantiationService = instantiationService.createChild(new ServiceCollection([IContextKeyService, this.scopedContextKeyService]));

this._register(instantiationService.createInstance(NotebookEditorContextKeys, this));
this._register(this.instantiationService.createInstance(NotebookEditorContextKeys, this));

this._kernelManger = instantiationService.createInstance(NotebookEditorKernelManager);
this._kernelManger = this.instantiationService.createInstance(NotebookEditorKernelManager);
this._register(notebookKernelService.onDidChangeNotebookKernelBinding(e => {
if (isEqual(e.notebook, this.viewModel?.uri)) {
this._loadKernelPreloads();
Expand Down

0 comments on commit 206524c

Please sign in to comment.