# debugger: Fix removal of running sessions when spawning a debug session \(\#30384\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/79ba22673bdb1af70688db32f99f56f4efd11507)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 79ba22673bdb1af70688db32f99f56f4efd11507

Requested commit: 79ba22673bdb1af70688db32f99f56f4efd11507

Commit: 79ba22673bdb1af70688db32f99f56f4efd11507

Tree: 2cc6d4c9033fa0a5c35c5e221cd0d2c931d51aa4

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
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
```

## Parents

- [074e78301a749adad90ddeeb8f7bc8852a38da4f](https://git.cafe/gitcafe/zed/commit/074e78301a749adad90ddeeb8f7bc8852a38da4f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/79ba22673bdb1af70688db32f99f56f4efd11507?format=markdown)
