mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
make sure to cancel continuation of _handleEditorChanged
, related to https://github.com/microsoft/vscode/issues/115219, fyi @joaomoreno
This commit is contained in:
parent
971fa2cc9c
commit
4d3b15fda0
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue