Skip to content

Commit

Permalink
Update Lib/asyncio/staggered.py
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored Jan 4, 2025
1 parent 9501879 commit dfe8384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/asyncio/staggered.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ async def run_one_coro(ok_to_start, previous_failed) -> None:
# first_task has been appended to running_tasks so first_task is ok to start.
ok_to_start.set()
propagate_cancellation_error = None
# Make sure no tasks are left running if we leave this function
while running_tasks:
if on_completed_fut is None:
on_completed_fut = loop.create_future()
Expand Down

0 comments on commit dfe8384

Please sign in to comment.