commit:     66c66190724b6d58961827c5d642c59db10fcdb1
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  8 04:47:12 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Apr  8 05:29:45 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=66c66190

Revert "SpawnProcess: cancel _main_task in _unregister (bug 711174)"

This reverts commit 97587a47fcd00d070c081ad3933e4036cf0f8e81.

Bug: https://bugs.gentoo.org/716636
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 lib/_emerge/SpawnProcess.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/_emerge/SpawnProcess.py b/lib/_emerge/SpawnProcess.py
index bf5c45189..34668b287 100644
--- a/lib/_emerge/SpawnProcess.py
+++ b/lib/_emerge/SpawnProcess.py
@@ -218,8 +218,6 @@ class SpawnProcess(SubProcess):
                if self.cgroup is not None:
                        self._cgroup_cleanup()
                        self.cgroup = None
-               if self._main_task is not None:
-                       self._main_task.done() or self._main_task.cancel()
 
        def _cancel(self):
                SubProcess._cancel(self)

Reply via email to