diff options
author | Aleksey Kladov <[email protected]> | 2021-01-22 16:50:56 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-22 16:50:56 +0000 |
commit | 738d9cdfde3acf680880b5f53d92a07529ba3050 (patch) | |
tree | c547ff41ced26a93c23e9a022988066658907f6c /crates/stdx/src | |
parent | e73cc8b4abed6e6f5d801d0032070fa9fc662ec3 (diff) |
stave off zombies
Diffstat (limited to 'crates/stdx/src')
-rw-r--r-- | crates/stdx/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/stdx/src/lib.rs b/crates/stdx/src/lib.rs index 73b121f8a..d42817078 100644 --- a/crates/stdx/src/lib.rs +++ b/crates/stdx/src/lib.rs | |||
@@ -196,6 +196,7 @@ impl ops::DerefMut for JodChild { | |||
196 | impl Drop for JodChild { | 196 | impl Drop for JodChild { |
197 | fn drop(&mut self) { | 197 | fn drop(&mut self) { |
198 | let _ = self.0.kill(); | 198 | let _ = self.0.kill(); |
199 | let _ = self.0.wait(); | ||
199 | } | 200 | } |
200 | } | 201 | } |
201 | 202 | ||