We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2ec7c9 commit 38c9a88Copy full SHA for 38c9a88
src/lsp/ClientConnectionManager.ts
@@ -75,7 +75,9 @@ export class ClientConnectionManager {
75
76
private create_new_client() {
77
const port = this.client?.port ?? -1;
78
+ this.client?.io?.removeAllListeners();
79
this.client?.events?.removeAllListeners();
80
+ this.client?.stop();
81
this.client = new GDScriptLanguageClient();
82
this.client.port = port;
83
this.client.events.on("status", this.on_client_status_changed.bind(this));
0 commit comments