forked from M-Labs/artiq
management/scheduler: cleanup pending tasks
This commit is contained in:
parent
f12e721974
commit
2029613c58
@ -115,3 +115,5 @@ class Scheduler:
|
|||||||
],
|
],
|
||||||
timeout=next_periodic,
|
timeout=next_periodic,
|
||||||
return_when=asyncio.FIRST_COMPLETED)
|
return_when=asyncio.FIRST_COMPLETED)
|
||||||
|
for t in pend:
|
||||||
|
t.cancel()
|
||||||
|
Loading…
Reference in New Issue
Block a user