Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
debugger: Shutdown debug adapter client on terminated event (#30278)
Anthony Eidcfb06bac8ac6
diff --git a/crates/project/src/debugger/session.rs b/crates/project/src/debugger/session.rsindex 6a98e9a5f3d..3c2eeabe4e3 100644--- a/crates/project/src/debugger/session.rs+++ b/crates/project/src/debugger/session.rs@@ -1172,8 +1172,7 @@ impl Session {self.clear_active_debug_line(cx);}Events::Terminated(_) => {- self.is_session_terminated = true;- self.clear_active_debug_line(cx);+ self.shutdown(cx).detach();}Events::Thread(event) => {let thread_id = ThreadId(event.thread_id);