소스 검색

trying out wait and join

digital 7 년 전
부모
커밋
2615e29f83
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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):
         """