Unnamed repository; edit this file 'description' to name the repository.
Don't leave debugged programs running
Dmitry Sharshakov 2021-08-21
parent 56bddb1 · commit 7087558
-rw-r--r--helix-dap/src/client.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index 7f648e98..f2d5b865 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -124,8 +124,7 @@ impl Client {
.stdin(Stdio::null())
.stdout(Stdio::null())
.stderr(Stdio::null())
- // make sure the process is reaped on drop
- .kill_on_drop(true)
+ // Do not kill debug adapter when leaving, it should exit automatically
.spawn()?;
// Wait for adapter to become ready for connection