make sure to cancel continuation of _handleEditorChanged, related to https://github.com/microsoft/vscode/issues/115219, fyi @joaomoreno

This commit is contained in:
Johannes Rieken 2021-01-28 15:02:55 +01:00
parent 971fa2cc9c
commit 4d3b15fda0

View file

@ -211,6 +211,11 @@ export class OutlinePane extends ViewPane {
return;
}
if (cts.token.isCancellationRequested) {
newOutline?.dispose();
return;
}
this._editorDisposables.add(newOutline);
this._progressBar.stop().hide();