Skip to content

Commit e13e139

Browse files
committed
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.
1 parent 191de78 commit e13e139

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

uasyncio.core/uasyncio/core.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ def run_forever(self):
119119
if __debug__ and DEBUG:
120120
log.debug("Coroutine finished: %s", cb)
121121
continue
122-
self.call_later_ms(delay, cb, args)
122+
# Currently all syscalls don't return anything, so we don't
123+
# need to feed anything to the next invocation of coroutine.
124+
# If that changes, need to pass that value below.
125+
self.call_later_ms(delay, cb)
123126

124127
def run_until_complete(self, coro):
125128
def _run_and_stop():

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy