Don't leave debugged programs running
commit7087558918bfcc7dfbfaf55d13104e830660a165
authorDmitry Sharshakov <d3dx12.xx@gmail.com>
dateSat 21 Aug 2021, 15:14 (5 years ago)
parent56bddb1
helix-dap/src/client.rs+1−2
@@ -124,8 +124,7 @@ impl Client {
124124 .stdin(Stdio::null())
125125 .stdout(Stdio::null())
126126 .stderr(Stdio::null())
127− // make sure the process is reaped on drop
128− .kill_on_drop(true)
127+ // Do not kill debug adapter when leaving, it should exit automatically
129128 .spawn()?;
130129
131130 // Wait for adapter to become ready for connection