summaryrefslogtreecommitdiffstats
path: root/base/process_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/process_posix.cc')
-rw-r--r--base/process_posix.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/process_posix.cc b/base/process_posix.cc
index ff8cf92..c9a7dfc 100644
--- a/base/process_posix.cc
+++ b/base/process_posix.cc
@@ -18,8 +18,9 @@ void Process::Terminate(int result_code) {
// result_code isn't supportable.
if (!process_)
return;
- // Wait so we clean up the zombie
- KillProcess(process_, result_code, true);
+ // We don't wait here. It's the responsibility of other code to reap the
+ // child.
+ KillProcess(process_, result_code, false);
}
bool Process::IsProcessBackgrounded() const {