there is no return from libev Loop_start

This is leftover from when the class was copied over
from asyncore.
This commit is contained in:
Adam Holmberg
2016-07-20 13:02:40 -05:00
parent d8d0456bad
commit 3619462740

View File

@@ -102,10 +102,10 @@ class LibevLoop(object):
def _run_loop(self):
while True:
end_condition = self._loop.start()
self._loop.start()
# there are still active watchers, no deadlock
with self._lock:
if not self._shutdown and (end_condition or self._live_conns):
if not self._shutdown and self._live_conns:
log.debug("Restarting event loop")
continue
else: