From 79ba22673bdb1af70688db32f99f56f4efd11507 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Sat, 10 May 2025 00:52:43 +0200 Subject: [PATCH] debugger: Fix removal of running sessions when spawning a debug session (#30384) Fixed regression introduced in https://github.com/zed-industries/zed/pull/29646/files#diff-85cbb0a26f1949431ec63870fc2d52b583227a5a00b6e10b64dcdb7fe7ef13afL314 Release Notes: - N/A --- crates/debugger_ui/src/debugger_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/debugger_ui/src/debugger_panel.rs b/crates/debugger_ui/src/debugger_panel.rs index 0670462e4051a216e4b36e7f86305e314bfcfb4d..9b82816992c3417388be59baf3bb9fbd48ed83e6 100644 --- a/crates/debugger_ui/src/debugger_panel.rs +++ b/crates/debugger_ui/src/debugger_panel.rs @@ -291,7 +291,7 @@ impl DebugPanel { let (debug_session, workspace) = this.update_in(cx, |this, window, cx| { this.sessions.retain(|session| { - session + !session .read(cx) .running_state() .read(cx)