Fix bug in run_forever

This commit is contained in:
Jason Paryani
2013-12-04 12:17:22 -08:00
parent bb3121d3ae
commit b092864571

View File

@@ -1600,7 +1600,7 @@ cdef class RpcServer:
del self.thisptr
def run_forever(self):
return _VoidPromise()._init(deref(self.network.thisptr).onDisconnect())
_VoidPromise()._init(deref(self.network.thisptr).onDisconnect()).wait()
# TODO: add restore functionality here?