From b5ff677381e2e846c0512fb41c5f4d4c2c8abd23 Mon Sep 17 00:00:00 2001 From: Ricardo Subtil Date: Sun, 9 Apr 2023 12:36:01 +0100 Subject: Poll LSP/DAP clients for connection status updates (cherry picked from commit 4be4eeea3ac9d37fa1dc520a5bc8c57554448410) --- editor/debugger/debug_adapter/debug_adapter_protocol.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor') diff --git a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp index e5f74762f6..4a95047a71 100644 --- a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp +++ b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp @@ -970,6 +970,7 @@ void DebugAdapterProtocol::poll() { List> to_delete; for (List>::Element *E = clients.front(); E; E = E->next()) { Ref peer = E->get(); + peer->connection->poll(); StreamPeerTCP::Status status = peer->connection->get_status(); if (status == StreamPeerTCP::STATUS_NONE || status == StreamPeerTCP::STATUS_ERROR) { to_delete.push_back(peer); -- cgit v1.2.3