Browse Source

trying out wait and join

digital 7 years ago
parent
commit
4b55a9ee03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      network/__init__.py

+ 1 - 1
network/__init__.py

@@ -420,7 +420,7 @@ class Server(object):
         # stopped or crashed
         # maybe wait doesn't work, trying it out with join
         cur_task = await curio.current_task()
-        await curio.ignore_after(0.01,cur_task.join)
+        await curio.ignore_after(0.01,cur_task.wait)
 
 class Client(threading.Thread):
     """docstring for Client"""