Register disposable

This commit is contained in:
Matt Bierner 2021-08-19 14:22:47 -07:00
parent 62bfac1e18
commit da5fa2b50a
No known key found for this signature in database
GPG key ID: 099C331567E11888

View file

@ -79,7 +79,7 @@ class StreamRendererContrib extends Disposable implements IOutputRendererContrib
truncatedArrayOfString(notebookUri, output.cellViewModel, Math.max(lineLimit, 6), contentNode, [text], disposables, linkDetector, this.openerService, this.themeService);
container.appendChild(contentNode);
return { type: RenderOutputType.Mainframe };
return { type: RenderOutputType.Mainframe, disposable: disposables };
}
}