# Fix tasks not being stopped on reruns \(\#29786\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e14d078f8ac04df578e1dab3c698d93c7533352a

Requested commit: e14d078f8ac04df578e1dab3c698d93c7533352a

Commit: e14d078f8ac04df578e1dab3c698d93c7533352a

Tree: 2e6c3445945f430f070b6764c5252cb15fa3489b

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix tasks not being stopped on reruns (#29786)

Follow-up of https://github.com/zed-industries/zed/pull/28993

* Tone down tasks' cancellation logging
* Fix task terminals' leak, disallowing to fully cancel the task by
dropping the terminal off the pane:

https://github.com/zed-industries/zed/blob/f619d5f02af100c34e286af294a42a01dcfb238c/crates/terminal_view/src/terminal_panel.rs#L1464-L1471

Release Notes:

- Fixed tasks not being stopped on reruns
```

## Parents

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

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