Skip to content

Commit

Permalink
Fixes to restoring kernel exec (#13746)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne authored Jun 22, 2023
1 parent 6c91106 commit 1f99a4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/kernels/kernelInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ export async function getKernelInfo(
return;
}
if (session.kernel?.info) {
return session.kernel.info;
promises.push(session.kernel.info);
session.kernel.info
.then((content) => cacheKernelInfo(workspaceMemento, kernelConnectionMetadata, content))
.catch(noop);
}
// KernelMessage.IReplyErrorContent | KernelMessage.IReplyAbortContent | KernelMessage.IInfoReply | undefined

Expand Down

0 comments on commit 1f99a4f

Please sign in to comment.