Skip to content

Commit 0ae8e42

Browse files
authored
Fix leaks in notebook diffing (microsoft#242385)
1 parent c0ab600 commit 0ae8e42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class WorkerManager extends Disposable {
6565
// this._lastWorkerUsedTime = (new Date()).getTime();
6666
if (!this._editorWorkerClient) {
6767
this._editorWorkerClient = new NotebookWorkerClient(this._notebookService, this._modelService);
68+
this._register(this._editorWorkerClient);
6869
}
6970
return Promise.resolve(this._editorWorkerClient);
7071
}

0 commit comments

Comments
 (0)