Skip to content

Commit 22fcfc9

Browse files
sean-mcmanusCopilot
andcommitted
Cleanup.
Co-authored-by: Copilot <copilot@github.com>
1 parent fcbd02c commit 22fcfc9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3025,10 +3025,6 @@ export class DefaultClient implements Client {
30253025
workspaceFolderUri: rootUri.toString()
30263026
};
30273027
return this.enqueue(async () => {
3028-
if (token.isCancellationRequested) {
3029-
throw new vscode.CancellationError();
3030-
}
3031-
30323028
// Don't use withLspCancellationHandling() or withCancellation() here. If the switch target is already known,
30333029
// the caller should still be able to use it even if the progress notification was just cancelled.
30343030
try {

0 commit comments

Comments
 (0)