commit | 0cb27a6bfbb5ee1f79792abeb33c5ec223d89ee4 | [log] [tgz] |
---|---|---|
author | Ian McKellar <ianloic@google.com> | Mon Apr 02 11:01:22 2018 -0700 |
committer | Ian McKellar <ianloic@google.com> | Mon Apr 02 11:01:22 2018 -0700 |
tree | ee849b8562ac56f96ebf24ce0c034c9a4fd92eea | |
parent | 23854496f4f46d462cad7069b68ece451632b38d [diff] |
Clean up child process handles. This matters now that we use a control socket. US-461 #done Change-Id: Icd557ce370ea72595cf4061894c847c4117ab2cc
diff --git a/fuchsia/fuchsia-compat.c b/fuchsia/fuchsia-compat.c index d2862a8..3ca14a6 100644 --- a/fuchsia/fuchsia-compat.c +++ b/fuchsia/fuchsia-compat.c
@@ -99,6 +99,9 @@ handler(SIGCHLD); } + zx_handle_close(child->handle); + child->handle = ZX_HANDLE_INVALID; + return NULL; }