소스 검색

A rare moment where I wish I had a Windows machine

Richard Belleville 5 년 전
부모
커밋
9e5a91b3b9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/python/grpcio/grpc/_cython/_cygrpc/fork_windows.pyx.pxi

+ 1 - 1
src/python/grpcio/grpc/_cython/_cygrpc/fork_windows.pyx.pxi

@@ -21,7 +21,7 @@ def fork_handlers_and_grpc_init():
 
 class ForkManagedThread(object):
     def __init__(self, target, args=()):
-        self._thread = threading.Thread(target=_tun_with_context(target), args=args)
+        self._thread = threading.Thread(target=_run_with_context(target), args=args)
 
     def setDaemon(self, daemonic):
         self._thread.daemon = daemonic