kopia lustrzana https://github.com/micropython/micropython-lib
uasyncio: wait: Remove no longer needed "if", artifact of epoll impl.
rodzic
4fc72c6032
commit
a355801fb1
|
@ -55,9 +55,6 @@ class PollEventLoop(EventLoop):
|
|||
if DEBUG and __debug__:
|
||||
log.debug("poll.wait(%d)", delay)
|
||||
# We need one-shot behavior (second arg of 1 to .poll())
|
||||
if delay == -1:
|
||||
res = self.poller.poll(-1, 1)
|
||||
else:
|
||||
res = self.poller.poll(delay, 1)
|
||||
#log.debug("poll result: %s", res)
|
||||
# Remove "if res" workaround after
|
||||
|
|
Ładowanie…
Reference in New Issue