summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):