Skip to content

Commit 163c10c

Browse files
ColengmsCopilot
andcommitted
Mark settings updates as fire-and-forget
Preserve the existing asynchronous configuration-provider update behavior after CppSettings.update began returning its completion promise. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c21faa2 commit 163c10c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Extension/src/LanguageServer/configurations.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,9 +687,9 @@ export class CppProperties implements vscode.Disposable {
687687
if (!this.propertiesFile) {
688688
const settings: CppSettings = new CppSettings(this.rootUri);
689689
if (providerId) {
690-
settings.update("default.configurationProvider", providerId);
690+
void settings.update("default.configurationProvider", providerId);
691691
} else {
692-
settings.update("default.configurationProvider", undefined); // delete the setting
692+
void settings.update("default.configurationProvider", undefined); // delete the setting
693693
}
694694
const config: Configuration | undefined = this.CurrentConfiguration;
695695
if (config) {

0 commit comments

Comments
 (0)