mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
de-ref interactive input on interactive nb close.
This commit is contained in:
@@ -21,7 +21,11 @@ export class MainThreadInteractive implements MainThreadInteractiveShape {
|
||||
this._proxy = extHostContext.getProxy(ExtHostContext.ExtHostInteractive);
|
||||
|
||||
this._disposables.add(interactiveDocumentService.onWillAddInteractiveDocument((e) => {
|
||||
this._proxy.$acceptInputDocument(e.inputUri, '\n', 'plaintext', e.notebookUri);
|
||||
this._proxy.$willAddInteractiveDocument(e.inputUri, '\n', 'plaintext', e.notebookUri);
|
||||
}));
|
||||
|
||||
this._disposables.add(interactiveDocumentService.onWillAddInteractiveDocument((e) => {
|
||||
this._proxy.$willRemoveInteractiveDocument(e.inputUri, e.notebookUri);
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user