notebooks: improve renderer message passing

Fixes https://github.com/microsoft/vscode/issues/122944
This commit is contained in:
Connor Peet
2021-05-04 12:25:08 -07:00
parent 51dbb570e9
commit d639345791
8 changed files with 85 additions and 106 deletions

View File

@@ -242,7 +242,7 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
}
}
$acceptRendererMessage(handle: number, editorId: string, message: any): void {
$acceptKernelMessageFromRenderer(handle: number, editorId: string, message: any): void {
const obj = this._kernelData.get(handle);
if (!obj) {
// extension can dispose kernels in the meantime