Skip to content

Commit

Permalink
Use explicit asyncio task creation to fix broken python3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpittenger committed Aug 4, 2023
1 parent bba7df1 commit f821fc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion catkin_tools/execution/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,5 +380,8 @@ def run_until_complete(coroutine):
loop = get_loop()
loop.slow_callback_duration = 1.0

task = loop.create_task(coroutine)

# Run jobs
return loop.run_until_complete(coroutine)
return loop.run_until_complete(task)

0 comments on commit f821fc6

Please sign in to comment.