commit: 3e235049eb36dd983b695ed50aca4e32d7d28950 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sun Apr 29 00:48:41 2018 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Apr 29 00:48:41 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=3e235049
AbstractEbuildProcess: use _async_waitpid after kill (bug 403697) Use _async_waitpid() instead of _async_wait() in the _cancel_timeout_cb method, since the pid exit status may not be available yet. Bug: https://bugs.gentoo.org/403697 pym/_emerge/AbstractEbuildProcess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/AbstractEbuildProcess.py b/pym/_emerge/AbstractEbuildProcess.py index d481e6046..1012ce166 100644 --- a/pym/_emerge/AbstractEbuildProcess.py +++ b/pym/_emerge/AbstractEbuildProcess.py @@ -266,7 +266,7 @@ class AbstractEbuildProcess(SpawnProcess): def _cancel_timeout_cb(self): self._exit_timeout_id = None - self._async_wait() + self._async_waitpid() return False # only run once def _orphan_process_warn(self):
