Bump kernel in MRU on cell execution. (#173741)

This commit is contained in:
Peng Lyu 2023-02-07 22:40:49 -08:00 committed by GitHub
parent e55e3d9720
commit cb671d149a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,6 +72,10 @@ export class NotebookExecutionService implements INotebookExecutionService, IDis
return;
}
if (kernelPickerType === 'mru') {
this._notebookKernelHistoryService.addMostRecentKernel(kernel);
}
// filter cell executions based on selected kernel
const validCellExecutions: INotebookCellExecution[] = [];
for (const [cell, cellExecution] of cellExecutions) {