Fix asyncio.all_tasks() call
This commit is contained in:
parent
d5abe7b341
commit
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()
|
||||
|
Loading…
Reference in New Issue
Block a user