From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D677A138350 for ; Sun, 1 Mar 2020 01:22:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2AE9E09DF; Sun, 1 Mar 2020 01:22:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90DF3E09DF for ; Sun, 1 Mar 2020 01:22:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 556A234F033 for ; Sun, 1 Mar 2020 01:22:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3B13CF for ; Sun, 1 Mar 2020 01:22:17 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1583025356.27a6ee3d09ff79b6addb2696a10fcc3f46e5ca91.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/util/_async/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/util/_async/AsyncScheduler.py X-VCS-Directories: lib/portage/util/_async/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 27a6ee3d09ff79b6addb2696a10fcc3f46e5ca91 X-VCS-Branch: master Date: Sun, 1 Mar 2020 01:22:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fdf74f33-9076-4d89-a3d6-78a2cee33206 X-Archives-Hash: 04af71f77d13b6c9f90cd89adef1740b commit: 27a6ee3d09ff79b6addb2696a10fcc3f46e5ca91 Author: Zac Medico gentoo org> AuthorDate: Sun Mar 1 01:14:32 2020 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Mar 1 01:15:56 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=27a6ee3d AsyncScheduler: cancel task after _task_coroutine CancelledError Signed-off-by: Zac Medico gentoo.org> lib/portage/util/_async/AsyncScheduler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/portage/util/_async/AsyncScheduler.py b/lib/portage/util/_async/AsyncScheduler.py index b9070061a..c31bda5f2 100644 --- a/lib/portage/util/_async/AsyncScheduler.py +++ b/lib/portage/util/_async/AsyncScheduler.py @@ -86,6 +86,7 @@ class AsyncScheduler(AsynchronousTask, PollScheduler): try: future.result() except asyncio.CancelledError: + task.cancel() self.cancel() self._task_exit(task)