1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

LSP: Fix repeated restart attempts

(cherry picked from commit 400c77f170)
This commit is contained in:
HolonProduction
2025-10-05 16:09:21 +02:00
committed by Thaddeus Crews
parent 2cb6d30dd1
commit 1aed7cefdd
2 changed files with 4 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ class GDScriptLanguageServer : public EditorPlugin {
Thread thread;
bool thread_running = false;
// There is no notification when the editor is initialized. We need to poll till we attempted to start the server.
bool start_attempted = false;
bool started = false;
bool use_thread = false;
String host = "127.0.0.1";