Fix bug in removing an EventLoop

This commit is contained in:
Jason Paryani
2013-12-02 17:54:53 -08:00
parent 888b906781
commit cfc11e4a8a
3 changed files with 9 additions and 9 deletions

View File

@@ -12,8 +12,7 @@ def example_client():
cap = client.restore(test_capnp.TestSturdyRefObjectId.new_message(tag='testInterface'))
cap = cap.cast_as(test_capnp.TestInterface)
remote = cap.foo(i=5)
response = remote.wait()
response = cap.foo(i=5).wait()
assert response.x == '125'
c.close()