Don't leave debugged programs running

imgbot
Dmitry Sharshakov 3 years ago
parent 56bddb12f8
commit 7087558918
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473

@ -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…
Cancel
Save