We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4ef82d commit 02b0a62Copy full SHA for 02b0a62
1 file changed
juju/utils.py
@@ -181,6 +181,7 @@ async def run_with_interrupt(task, *events, log=None):
181
return_when=jasyncio.FIRST_COMPLETED)
182
for f in pending:
183
f.cancel() # cancel unfinished tasks
184
+ for f in pending:
185
try:
186
await f
187
except jasyncio.CancelledError:
0 commit comments