Don't leave debugged programs running
This commit is contained in:
parent
56bddb12f8
commit
7087558918
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue