From 738d9cdfde3acf680880b5f53d92a07529ba3050 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 22 Jan 2021 19:50:56 +0300 Subject: stave off zombies --- crates/stdx/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/stdx') 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 { impl Drop for JodChild { fn drop(&mut self) { let _ = self.0.kill(); + let _ = self.0.wait(); } } -- cgit v1.2.3