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()) .stdin(Stdio::null())
.stdout(Stdio::null()) .stdout(Stdio::null())
.stderr(Stdio::null()) .stderr(Stdio::null())
// make sure the process is reaped on drop // Do not kill debug adapter when leaving, it should exit automatically
.kill_on_drop(true)
.spawn()?; .spawn()?;
// Wait for adapter to become ready for connection // Wait for adapter to become ready for connection