Skip to content

Commit 76b3736

Browse files
committed
remove callling gc in stop clients
1 parent 3ea464e commit 76b3736

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

vscode-client/languageclientsmanger.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,11 @@ export class LanguageClientsManager {
122122
this.clients.clear();
123123

124124
for (const client of clients) {
125-
promises.push(client.stop().then((_) => global.gc()));
125+
promises.push(client.stop());
126126
}
127127

128128
return Promise.all(promises).then(
129129
(r) => {
130-
if (global.gc) {
131-
global.gc();
132-
}
133-
134130
return r.length > 0;
135131
},
136132
(reason) => {

0 commit comments

Comments
 (0)