diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-02-13 18:35:03 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-02-13 18:35:03 -0800 |
commit | 07823ba56f63309da9547e02e96b043005932be0 (patch) | |
tree | ecdfa774f9def6fb215b5c89e77312f131b14764 /pym/_emerge/AbstractEbuildProcess.py | |
parent | 6afd0e508eaf1f9040a20ed670cd6cf7a3a07517 (diff) | |
download | portage-07823ba56f63309da9547e02e96b043005932be0.tar.gz portage-07823ba56f63309da9547e02e96b043005932be0.tar.bz2 portage-07823ba56f63309da9547e02e96b043005932be0.zip |
AsynchronousTask: don't wait for exit status
Synchronous waiting for status is not supported, since it would be
vulnerable to hitting the recursion limit when a large number of tasks
need to be terminated simultaneously, like in bug #402335.
Diffstat (limited to 'pym/_emerge/AbstractEbuildProcess.py')
-rw-r--r-- | pym/_emerge/AbstractEbuildProcess.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/AbstractEbuildProcess.py b/pym/_emerge/AbstractEbuildProcess.py index 5742cb2a7..c7b8f83ca 100644 --- a/pym/_emerge/AbstractEbuildProcess.py +++ b/pym/_emerge/AbstractEbuildProcess.py @@ -167,8 +167,7 @@ class AbstractEbuildProcess(SpawnProcess): # of time, kill it (solves bug #278895). We try to avoid # this when possible since it makes sandbox complain about # being killed by a signal. - self.cancelled = True - self._cancel() + self.cancel() self._exit_timeout_id = \ self.scheduler.timeout_add(self._cancel_timeout, self._cancel_timeout_cb) |