Browse Source

trying out wait and join

digital 7 years ago
parent
commit
2615e29f83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/beewatch/server/__init__.py

+ 1 - 1
lib/beewatch/server/__init__.py

@@ -100,7 +100,7 @@ class ConnHandlerBeeWatch(digilib.network.ConnHandler):
             lch.debug("exec: "+task.exception.__cause__)
         # task joins iself to suppress the "task not joined" warning
         cur_task = await curio.current_task()
-        await curio.ignore_after(0,cur_task.join)
+        await curio.ignore_after(0,cur_task.wait)
 
     async def respond(self,text,*args,log_msg=False):
         """