Skip to content

Commit 93a88c9

Browse files
authored
Ensure clearCustomConfigurations() is called when changing the configurationProvider (#3404)
* Ensure clearCustomConfigurations() is called when changing the configurationProvider
1 parent 34d8874 commit 93a88c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,6 +1206,9 @@ class DefaultClient implements Client {
12061206
}).then(() => {
12071207
let newProvider: string = this.configuration.CurrentConfigurationProvider;
12081208
if (this.configurationProvider !== newProvider) {
1209+
if (this.configurationProvider) {
1210+
this.clearCustomConfigurations();
1211+
}
12091212
this.configurationProvider = newProvider;
12101213
this.updateCustomConfigurations();
12111214
this.updateCustomBrowseConfiguration();

0 commit comments

Comments
 (0)