aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-21 12:14:29 +0000
committerDmitry Sharshakov2021-08-21 12:14:29 +0000
commit7087558918bfcc7dfbfaf55d13104e830660a165 (patch)
tree5f5b7a07b267de24918f6a62fa99f232f36a2960
parent56bddb12f80a92cd267d1181b4de2933c2393935 (diff)
Don't leave debugged programs running
-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