kopia lustrzana https://github.com/micropython/micropython-lib
uasyncio.core: Don't feed old send arguments into next coro invocation.
As all current syscalls don't return any value, there's nothing to feed actually.pull/183/head
rodzic
191de78b16
commit
e13e139f51
|
@ -119,7 +119,10 @@ class EventLoop:
|
|||
if __debug__ and DEBUG:
|
||||
log.debug("Coroutine finished: %s", cb)
|
||||
continue
|
||||
self.call_later_ms(delay, cb, args)
|
||||
# Currently all syscalls don't return anything, so we don't
|
||||
# need to feed anything to the next invocation of coroutine.
|
||||
# If that changes, need to pass that value below.
|
||||
self.call_later_ms(delay, cb)
|
||||
|
||||
def run_until_complete(self, coro):
|
||||
def _run_and_stop():
|
||||
|
|
Ładowanie…
Reference in New Issue