mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
add notebook instance to interrupt handler, https://github.com/microsoft/vscode/issues/121912
This commit is contained in:
@@ -233,7 +233,7 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
|
||||
throw new Error('MISSING notebook');
|
||||
}
|
||||
if (obj.controller.interruptHandler) {
|
||||
await obj.controller.interruptHandler.call(obj.controller);
|
||||
await obj.controller.interruptHandler.call(obj.controller, document.apiNotebook);
|
||||
}
|
||||
|
||||
// we do both? interrupt and cancellation or should we be selective?
|
||||
|
||||
Reference in New Issue
Block a user