From 7087558918bfcc7dfbfaf55d13104e830660a165 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sat, 21 Aug 2021 15:14:29 +0300 Subject: Don't leave debugged programs running --- helix-dap/src/client.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'helix-dap') 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 -- cgit v1.2.3-70-g09d2