# Revert "terminal: Actually close process groups when the terminal is closed \(\#61467\)" \(\#62399\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 492acd6c815cbe8c7366d54e6092341340afa6c7

Requested commit: 492acd6c815cbe8c7366d54e6092341340afa6c7

Commit: 492acd6c815cbe8c7366d54e6092341340afa6c7

Tree: 960ba0544ba70edbb1cbc19999c4432bc69dfa78

Author: Chris Biscardi

Committer: GitHub

## Message

```
Revert "terminal: Actually close process groups when the terminal is closed (#61467)" (#62399)

This reverts commit 6297c88f428a99741a7bfb33f31dfe98123bb8e4.

---

fixes #62286
fixes #62095

https://github.com/zed-industries/zed/pull/61467 fixed its intended bug,
but at the same time introduced an issue where running tasks that would
cause new tasks to be terminated immediately.
https://github.com/zed-industries/zed/pull/62322 tried to fix that
forward, but was unsuccessful. In the mean-time I am going to revert the
original PR.

We can try to re-land the original bugfix in a future PR.

Release Notes:

- N/A
```

## Parents

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

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