[Lldb-commits] [lldb] [lldb-dap] Fix DAPError (PR #145010)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 20 08:17:54 PDT 2025


================
@@ -342,6 +342,7 @@ serveConnection(const Socket::SocketProtocol &protocol, const std::string &name,
                      << " disconnected failed: "
                      << llvm::toString(std::move(error)) << "\n";
       }
+      dap->StopEventHandlers();
----------------
JDevlieghere wrote:

Should we stop the event handler _before_ we try to disconnect? 

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


More information about the lldb-commits mailing list