Fix up examples

This commit is contained in:
Jason Paryani
2013-11-15 01:17:35 -08:00
parent 8e1895dd8f
commit fc16eab803
4 changed files with 13 additions and 10 deletions

View File

@@ -1581,6 +1581,10 @@ cdef class RpcServer:
def __dealloc__(self):
del self.thisptr
def run_forever(self):
p = PromiseFulfillerPair()
self.loop.wait(p)
# TODO: add restore functionality here?
cdef class FdAsyncIoStream: