diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-04-11 10:19:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 10:19:24 +0200 |
commit | 4ab0b389406a1119db3ea59d827904a24ed1ffaa (patch) | |
tree | 68c23cda2605a8e8227c4380a4d1e8b1ea62d22d /modules/gdscript/language_server/gdscript_language_protocol.cpp | |
parent | c3ed7af12347aa04a3d3bb91bc726170e894758e (diff) | |
parent | 4be4eeea3ac9d37fa1dc520a5bc8c57554448410 (diff) | |
download | redot-engine-4ab0b389406a1119db3ea59d827904a24ed1ffaa.tar.gz |
Merge pull request #75850 from rsubtil/bugfix-lsp_dap_connection_poll
Poll LSP/DAP clients for connection status updates
Diffstat (limited to 'modules/gdscript/language_server/gdscript_language_protocol.cpp')
-rw-r--r-- | modules/gdscript/language_server/gdscript_language_protocol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/language_server/gdscript_language_protocol.cpp b/modules/gdscript/language_server/gdscript_language_protocol.cpp index acd75f039a..0aa53c1dbe 100644 --- a/modules/gdscript/language_server/gdscript_language_protocol.cpp +++ b/modules/gdscript/language_server/gdscript_language_protocol.cpp @@ -237,6 +237,7 @@ void GDScriptLanguageProtocol::poll() { HashMap<int, Ref<LSPeer>>::Iterator E = clients.begin(); while (E != clients.end()) { Ref<LSPeer> peer = E->value; + peer->connection->poll(); StreamPeerTCP::Status status = peer->connection->get_status(); if (status == StreamPeerTCP::STATUS_NONE || status == StreamPeerTCP::STATUS_ERROR) { on_client_disconnected(E->key); |