on master help sign in
Don't leave debugged programs running
7087558Dmitry Sharshakov
helix-dap/src/client.rs+1−2
@@ -124,8 +124,7 @@ impl Client {
124 .stdin(Stdio::null())
124 .stdin(Stdio::null())
125 .stdout(Stdio::null())
125 .stdout(Stdio::null())
126 .stderr(Stdio::null())
126 .stderr(Stdio::null())
127− // make sure the process is reaped on drop
127+ // Do not kill debug adapter when leaving, it should exit automatically
128− .kill_on_drop(true)
129 .spawn()?;
128 .spawn()?;
130
129
131 // Wait for adapter to become ready for connection
130 // Wait for adapter to become ready for connection