# Avoid killing Zed when terminating terminal process before process group is set by shell \(\#52542\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2f762eee4bebed1210680c0ffbd2d242016ca297

Requested commit: 2f762eee4bebed1210680c0ffbd2d242016ca297

Commit: 2f762eee4bebed1210680c0ffbd2d242016ca297

Tree: 2705018285fa9713da4ae9fe658886329cf2e6c9

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Avoid killing Zed when terminating terminal process before process group is set by shell (#52542)

Release Notes:

- Fixed a bug where killing a terminal process in the agent panel would
sometimes kill Zed itself.
```

## Parents

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

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