summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-17 06:31:00 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-17 06:31:00 +0000
commitbc422f02359719c83170865a5b7fc193d88e3d60 (patch)
tree314bc0e53e0961349df13d43dfeeb3aafdfb0fbe
parent6631738e1acb537cd1582e54751457473b732fba (diff)
downloadportage-bc422f02359719c83170865a5b7fc193d88e3d60.tar.gz
portage-bc422f02359719c83170865a5b7fc193d88e3d60.tar.bz2
portage-bc422f02359719c83170865a5b7fc193d88e3d60.zip
In SequentialTaskQueue.clear(), remove the exit listener from each task before
cancelling it. svn path=/main/trunk/; revision=11095
-rw-r--r--pym/_emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 13df0d8f5..91814bd5a 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -7989,6 +7989,7 @@ class SequentialTaskQueue(SlotObject):
running_tasks = self.running_tasks
while running_tasks:
task = running_tasks.pop()
+ task.removeExitListener(self._task_exit)
task.cancel()
def __nonzero__(self):