Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

git: Kill git blame process on task drop (#56890)

Ben Brandteec06a446ac7
diff --git a/crates/git/src/blame.rs b/crates/git/src/blame.rs
index 43627453f0f..2261f52f878 100644
--- a/crates/git/src/blame.rs
+++ b/crates/git/src/blame.rs
@@ -63,6 +63,7 @@ async fn run_git_blame(
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.stderr(Stdio::piped())
+ .kill_on_drop(true)
.spawn()
.context("starting git blame process")?
};