[Lldb-commits] [lldb] [lldb-mcp] Fix servers accepting more than one client. (PR #158357)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 17 15:50:43 PDT 2025


================
@@ -52,11 +60,14 @@ class ProtocolServerMCP : public ProtocolServer {
   lldb_private::MainLoop m_loop;
   std::thread m_loop_thread;
   std::mutex m_mutex;
+  uint32_t m_client_count = 0;
----------------
ashgti wrote:

Done, updated to `size_t`.

https://github.com/llvm/llvm-project/pull/158357


More information about the lldb-commits mailing list