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 b6c74b586..acaf16287 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -6570,6 +6570,7 @@ class Scheduler(object):
rval = self._merge()
finally:
# clean up child process if necessary
+ self._task_queue.clear()
while running_tasks:
task = running_tasks.pop()
if task.poll() is None: