================
@@ -327,6 +366,11 @@ serveConnection(const Socket::SocketProtocol &protocol,
const std::string &name,
std::unique_lock<std::mutex> lock(dap_sessions_mutex);
dap_sessions.erase(&loop);
std::notify_all_at_thread_exit(dap_sessions_condition, std::move(lock));
+
+ // Start the countdown to kill the server at the end of each connection.
----------------
jeffreytan81 wrote:
Why are we kill the server at the end of each connection? There can still be
other alive connections.
I do not think this is the behavior we wanted. You want to kill the server for
the last connection.
https://github.com/llvm/llvm-project/pull/156803
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits