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
Paul Sokolovsky 2017-05-23 01:26:08 +03:00
rodzic 191de78b16
commit e13e139f51
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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():