From bc422f02359719c83170865a5b7fc193d88e3d60 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 17 Jul 2008 06:31:00 +0000 Subject: [PATCH] In SequentialTaskQueue.clear(), remove the exit listener from each task before cancelling it. svn path=/main/trunk/; revision=11095 --- pym/_emerge/__init__.py | 1 + 1 file changed, 1 insertion(+) 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): -- 2.26.2