forked from M-Labs/artiq
management/scheduler: fix busywait bug
This commit is contained in:
parent
255b00f678
commit
02f3781e65
@ -93,6 +93,7 @@ class Scheduler:
|
||||
[ev_queue, ev_periodic],
|
||||
timeout=next_periodic,
|
||||
return_when=asyncio.FIRST_COMPLETED)
|
||||
self.periodic_modified.clear()
|
||||
for t in pend:
|
||||
t.cancel()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user