This commit is contained in:
rebornix
2022-04-14 11:19:50 -07:00
parent f20a0f2a10
commit 280050dba5
3 changed files with 4 additions and 13 deletions

View File

@@ -258,7 +258,6 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
}
getIdByController(controller: vscode.NotebookController) {
// return this._kernelData.(data => data.controller === controller);
for (const [_, candidate] of this._kernelData) {
if (candidate.controller === controller) {
return createKernelId(candidate.extensionId, controller.id);