Skip to content

Commit

Permalink
Revert "Fix Server to wait in wait_closed() until all transports are …
Browse files Browse the repository at this point in the history
…done" (#180)

This reverts commit 124e981.
  • Loading branch information
ciscorn committed Jul 8, 2018
1 parent 933cf92 commit 90d7e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvloop/server.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cdef class Server:

@cython.iterable_coroutine
async def wait_closed(self):
if self._waiters is None:
if self._servers is None or self._waiters is None:
return
waiter = self._loop._new_future()
self._waiters.append(waiter)
Expand Down

0 comments on commit 90d7e06

Please sign in to comment.