aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-03-07 13:52:53 -0800
committerZac Medico <zmedico@gentoo.org>2020-03-07 14:01:22 -0800
commit8cc84cea654238676f7edc04b9c75c001535c0b4 (patch)
tree7699a0c1929cce4936e0a61c95b655402453c06c /lib/portage
parentAsynchronousTask: handle addStartListener after exit (bug 711322) (diff)
downloadportage-8cc84cea654238676f7edc04b9c75c001535c0b4.tar.gz
portage-8cc84cea654238676f7edc04b9c75c001535c0b4.tar.bz2
portage-8cc84cea654238676f7edc04b9c75c001535c0b4.zip
SequentialTaskQueue: cancel unstarted tasks when appropriate (bug 711322)
When the clear method is called, cancel any tasks which have not started yet, in order to ensure that their start/exit listeners are called. This fixes a case where emerge would hang after SIGINT. Also fix the CompositeTask _cancel method to react appropriately to the cancel event when the task has not started yet. Bug: https://bugs.gentoo.org/711322 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/portage')
0 files changed, 0 insertions, 0 deletions