mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Bump kernel in MRU on cell execution. (#173741)
This commit is contained in:
parent
e55e3d9720
commit
cb671d149a
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue