2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-01-27 10:58:12 +08:00

management/scheduler: cleanup pending tasks

This commit is contained in:
Sebastien Bourdeauducq 2015-01-13 18:01:01 +08:00
parent f12e721974
commit 2029613c58

View File

@ -115,3 +115,5 @@ class Scheduler:
],
timeout=next_periodic,
return_when=asyncio.FIRST_COMPLETED)
for t in pend:
t.cancel()