diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 70746c9985..023d0930a3 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -2320,11 +2320,10 @@ export class DefaultClient implements Client { // Don't cancel if the result has already been computed, because the result might still be usable // without needing to send an unnecessary re-request, which is the case for the callback to registerRelatedFilesProvider. - /* if (token.isCancellationRequested) { - throw new vscode.CancellationError(); + return result; + // throw new vscode.CancellationError(); } - */ return result; }