mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
check that notebook controller are unique per id
This commit is contained in:
@@ -177,7 +177,7 @@ export class MainThreadNotebookKernels implements MainThreadNotebookKernelsShape
|
||||
|
||||
// --- kernel adding/updating/removal
|
||||
|
||||
$addKernel(handle: number, data: INotebookKernelDto2): void {
|
||||
async $addKernel(handle: number, data: INotebookKernelDto2): Promise<void> {
|
||||
const that = this;
|
||||
const kernel = new class extends MainThreadKernel {
|
||||
executeNotebookCellsRequest(uri: URI, ranges: ICellRange[]): void {
|
||||
|
||||
Reference in New Issue
Block a user