summaryrefslogtreecommitdiffstats
path: root/pym/portage/util/_async/AsyncScheduler.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/util/_async/AsyncScheduler.py')
-rw-r--r--pym/portage/util/_async/AsyncScheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/util/_async/AsyncScheduler.py b/pym/portage/util/_async/AsyncScheduler.py
index 130331ec5..a452c0c37 100644
--- a/pym/portage/util/_async/AsyncScheduler.py
+++ b/pym/portage/util/_async/AsyncScheduler.py
@@ -27,7 +27,7 @@ class AsyncScheduler(AsynchronousTask, PollScheduler):
def _cancel(self):
self._terminated.set()
- self._terminate_tasks()
+ self._termination_check()
def _terminate_tasks(self):
for task in list(self._running_tasks):