Fix asyncio.all_tasks() call
Cette révision appartient à :
Parent
d5abe7b341
révision
b4d6080f7b
@ -459,7 +459,7 @@ def format_dependencies_list(dependencies):
|
||||
|
||||
|
||||
def loop_shutdown():
|
||||
pending = asyncio.Task.all_tasks()
|
||||
pending = asyncio.all_tasks()
|
||||
for task in pending:
|
||||
with suppress(asyncio.CancelledError):
|
||||
task.cancel()
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user