Skip to content

Commit 79ba226

Browse files
authored
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
1 parent 074e783 commit 79ba226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/debugger_ui/src/debugger_panel.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl DebugPanel {
291291

292292
let (debug_session, workspace) = this.update_in(cx, |this, window, cx| {
293293
this.sessions.retain(|session| {
294-
session
294+
!session
295295
.read(cx)
296296
.running_state()
297297
.read(cx)

0 commit comments

Comments
 (0)