switch mimetype now should be done async.

This commit is contained in:
rebornix
2020-05-26 20:35:22 -07:00
parent 914fa13e26
commit 714991ce95
5 changed files with 54 additions and 14 deletions

View File

@@ -53,11 +53,6 @@ export class MainThreadNotebookDocument extends Disposable {
await this.notebookService.transformSpliceOutputs(this.textModel, splices);
this._textModel.$spliceNotebookCellOutputs(cellHandle, splices);
}
updateRenderers(renderers: string[]) {
this._textModel.updateRenderers(renderers);
}
dispose() {
this._textModel.dispose();
super.dispose();