mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
stave off zombies
This commit is contained in:
parent
e73cc8b4ab
commit
738d9cdfde
@ -196,6 +196,7 @@ impl ops::DerefMut for JodChild {
|
|||||||
impl Drop for JodChild {
|
impl Drop for JodChild {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
let _ = self.0.kill();
|
let _ = self.0.kill();
|
||||||
|
let _ = self.0.wait();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user