kopia lustrzana https://github.com/micropython/micropython-lib
asyncio_slow: run_until_complete() should not schedule anyhing.
Everything should be scheduled either already, or async() does this.asyncio
rodzic
6bff4dbe72
commit
3a639ce666
|
@ -43,7 +43,6 @@ class EventLoop:
|
||||||
|
|
||||||
t = async(coro)
|
t = async(coro)
|
||||||
t.add_done_callback(_cb)
|
t.add_done_callback(_cb)
|
||||||
self.call_soon(t)
|
|
||||||
try:
|
try:
|
||||||
self.run_forever()
|
self.run_forever()
|
||||||
except DoneException:
|
except DoneException:
|
||||||
|
|
Ładowanie…
Reference in New Issue