Don't leave debugged programs running

This commit is contained in:
Dmitry Sharshakov 2021-08-21 15:14:29 +03:00
parent 56bddb12f8
commit 7087558918
No known key found for this signature in database
GPG key ID: 471FD32E15FD8473

View file

@ -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